Determines whether the specified Object is equal to the current Object.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
public override bool Equals( Object obj )
Public Overrides Function Equals ( _ obj As Object _ ) As Boolean
public: virtual bool Equals( Object^ obj ) override
public boolean Equals( Object obj )
![](../icons/collapse_all.gif)
- obj (Object)
- The Object to compare with the current Object.
![](../icons/collapse_all.gif)
true if the specified Object is equal to the current Object; otherwise, false.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
NullReferenceException | The obj parameter is null.
|