Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public static class Validation
  2. {
  3. public static void ValidateIsNull(object value, string message)
  4. {
  5. if(value == null)
  6. {
  7. throw new ArgumentNullException("VALUE CANNOT BE NULL!");
  8. }
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement