## DefaultComparer::Compare method


RTTI information.

```cpp
virtual int System::Collections::Generic::DefaultComparer<T, typename>::Compare(typename ThisType::args_type x, typename ThisType::args_type y) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | typename ThisType::args_type | LHS operand. |
| y | typename ThisType::args_type | RHS operand. |

### ReturnValue

Negative value if **x** is less than **y**, 0 if operands are equal and positive value otherwise.
## Remarks


Actual data comparison. 
## See Also

* Typedef [args_type](../../icomparer/args_type/)
* Class [DefaultComparer](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
