Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public Button(string text) => _text = text;
~Button() => Debug.WriteLine("Goodbye!");
string _text;
public string Text
{
get => _text;
set => _text = value ?? "No name";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment