StringComparer.Compare Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Compares two objects or strings and returns an indication of their relative sort order.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCompare(Object, Object)

When overridden in a derived class, compares two objects and returns an indication of their relative sort order.

System_CAPS_pubmethodCompare(String, String)

When overridden in a derived class, compares two strings and returns an indication of their relative sort order.

Return to top
Show: