StringComparer.Compare Method
.NET Framework 4
Compares two objects or strings and returns an indication of their relative sort order.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Compare(Object, Object) | When overridden in a derived class, compares two objects and returns an indication of their relative sort order. |
|
Compare(String, String) | When overridden in a derived class, compares two strings and returns an indication of their relative sort order. |