Skip to content

Instantly share code, notes, and snippets.

Created Jul 26, 2022
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