public static void NotNull(object obj, string paramName) { if (obj == null) throw new ArgumentNullException(paramName); }