daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top