-
-
Save anonymous/45b8c7cda12eabe884460fbf9d0913a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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