Share via


Comparer functions

These functions test equality and determine ordering.

Name Description
Comparer.Equals Returns a logical value based on the equality check over the two given values.
Comparer.FromCulture Returns a comparer function based on the specified culture and case-sensitivity.
Comparer.Ordinal Returns a comparer function which uses Ordinal rules to compare values.
Comparer.OrdinalIgnoreCase Returns a case-insensitive comparer function which uses Ordinal rules to compare the provided values.