Created
August 18, 2017 19:49
-
-
Save tomwis/81aa45adb54d01c6ad5a4ed27e55086d 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
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