Determines if the underlying object is null.
public static bool IsNull(this object obj)
private enum Level { Low = 0, Medium = 15, High = 30, } DBNull.Value.IsNull(); ((object)null).IsNull(); ((string)null).IsNull(); Level.Medium.IsNull();
true true true false
Last updated 1 year ago