Created
June 10, 2017 13:42
-
-
Save atsvetkov/1406149461425280df5e81ae0e724ed7 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 static void NotNull<T>(T value, string name) where T: class | |
{ | |
if (value == null) | |
{ | |
throw new ArgumentNullException(name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment