Share via


Object.Equals Method (Object)

Determines whether a specified instance (object) of the Object class is equal to the current object of that class.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

 [MethodImplAttribute]
public virtual bool Equals (
         Object obj
)

Parameters

  • obj
    The object you want to compare with the current object.

Return Value

true if the specified object is equal to the current object; otherwise, false.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Object Class
Object Members
System Namespace