System.ObjectExtentions.IsNull C# (CSharp) Méthode

IsNull() public static méthode

Check to determine if the object is null
public static IsNull ( this foo ) : bool
foo this
Résultat bool
        public static bool IsNull(this object foo)
        {
            return foo == null || foo == DBNull.Value;
        }