Determines whether the specified Object is equal to the current Object.
| 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 )
- obj (Object)
- The Object to compare with the current Object.
true if the specified Object is equal to the current Object; otherwise, false.
| Exception | Condition |
|---|---|
| NullReferenceException | The obj parameter is null.
|
