Skip to content

Instantly share code, notes, and snippets.

/a.cs

Created December 15, 2017 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/45b8c7cda12eabe884460fbf9d0913a8 to your computer and use it in GitHub Desktop.
Save anonymous/45b8c7cda12eabe884460fbf9d0913a8 to your computer and use it in GitHub Desktop.
struct Thing
{
public Thing(int id)
{
Id = id;
}
public int Id { get; set; }
public string SayHello() => $"Hello from {Id}";
public void Conculate()
{
Id = 42;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment