Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created Jul 26, 2022
Embed
What would you like to do?
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