Click or drag to resize
RuntimeHelpersEquals Method
Determines whether the specified Object instances are considered equal.

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
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: Boolean
true 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