Created
August 16, 2021 10:01
-
-
Save lgolubyev/012774dbb464c4ae2b3a52b7871c2bed 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 string tName {get; | |
set | |
{ | |
if (value.Trim() == "") | |
throw new ArgumentException("No blank strings"); field = value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment