Dot Net Interview Questions and Tutorials By Dr. Rajesh Rolen
/// /// Determine of specified type is nullable /// public static bool IsNullable(Type t) { return !t.IsValueType || (t.IsGenericType && t.GetGenericTypeDefinition() == typeof(Nullable<>)); }
Post a Comment
No comments:
Post a Comment