Instantly share code, notes, and snippets.

anonymous /a.cs
Created Dec 15, 2017

Embed
What would you like to do?
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