Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created July 26, 2022 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/fd82f50e776e2aa1ce98e99608e35f86 to your computer and use it in GitHub Desktop.
Save lgolubyev/fd82f50e776e2aa1ce98e99608e35f86 to your computer and use it in GitHub Desktop.
public string Name
{
get => name;
set => name = value ?? throw new ArgumentNullException(nameof(value), $"{nameof(Name)} cannot be null");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment