StringComparer

StringComparer


Represents string comparison operations based on a specific case and culture-based or ordinal comparison rules.


Public:

Methods:

NameDescription
 Compare Compares two values relative to each other in an ordered set.  
 Equals Compares two values for equality.  
 GetHashCode Returns a partially unique numeric representation of the value.  

Remarks

Implement this interface when a specific string comparison rule is necessary. The implementation should still allow the default processing of other value types other than string.

See Also

Project CorLib Overview

Class StringComparer Overview

StringComparerStatic