## IEqualityComparer::Equals method


RTTI information.

```cpp
virtual bool System::Collections::IEqualityComparer::Equals(const SharedPtr<Object> &x, const SharedPtr<Object> &y) const =0
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | const SharedPtr\<Object\>\& | LHS object. |
| y | const SharedPtr\<Object\>\& | RHS object. |

### ReturnValue

True if objects are considered equal, false otherwise.
## Remarks


Checks if two objects are equal. 
## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [IEqualityComparer](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
