ObjectEquals Method (Object, Object) |
Determines whether the specified object instances are considered equal.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax 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:
Booleantrue if the objects are considered equal; otherwise, false. If both
objA and
objB are null, the method returns true.
See Also