Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created August 16, 2021 10:01
Embed
What would you like to do?
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