RuntimeHelpersEquals Method |
Determines whether the specified
Object instances are considered equal.
Namespace: System.Runtime.CompilerServicesAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static bool Equals(
Object o1,
Object o2
)
Parameters
- o1
- Type: SystemObject
The first object to compare. - o2
- Type: SystemObject
The second object to compare.
Return Value
Type:
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.
See Also