public static AreEqual ( object obj1, object obj2 ) : bool | ||
obj1 | object | |
obj2 | object | |
return | bool |
public static bool AreEqual(object obj1, object obj2)
{
if (obj1 == null)
return obj2 == null;
return obj1.Equals(obj2);
}