Click or drag to resize
ObjectEquals Method (Object, Object)
Determines whether the specified object instances are considered equal.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static bool Equals(
	Object objA,
	Object objB
)

Parameters

objA
Type: SystemObject
The first object to compare.
objB
Type: SystemObject
The second object to compare.

Return Value

Type: Boolean
true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
See Also