RuntimeHelpers.Equals Method (Object, Object)
.NET Framework (current version)
Determines whether the specified Object instances are considered equal.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- o1
-
Type:
System.Object
The first object to compare.
- o2
-
Type:
System.Object
The second object to compare.
Return Value
Type: System.Booleantrue if the o1 parameter is the same instance as the o2 parameter, or if both are null, or if o1.Equals(o2) returns true; otherwise, false.
This method is used by compilers.
.NET Framework
Available since 1.1
Available since 1.1
Show: