## Comparer::get_Default method


Returns a default sort order comparer for the type specified by the generic argument.

```cpp
static SharedPtr<IComparer<T>> System::Collections::Generic::Comparer<T>::get_Default()
```


### ReturnValue

An object that inherits [System.Collections.Generic.Comparer](../) and serves as a sort order comparer for type T.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IComparer](../../icomparer/)
* Class [Comparer](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.TeX for C++](../../../)
