StringComparerStatic

StringComparerStatic


Provides a set of StringComparer objects implementing different string comparison rules.


Public:

Properties:

NameDescription
 BinaryCompare (get) Gets a StringComparer object that provides case-sensitive string comparisons.  
 CurrentCulture (get) Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the current culture.  
 CurrentCultureIgnoreCase (get) Gets a StringComparer object that performs a case-insensitive string comparison using the word comparison rules of the current culture.  
 InvariantCulture (get) Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the invariant culture.  
 InvariantCultureIgnoreCase (get) Gets a StringComparer object that performs a case-insensitive string comparison using the word comparison rules of the invariant culture.  
 Ordinal (get) Gets a StringComparer object that provides case-sensitive string comparisons.  
 OrdinalIgnoreCase (get) Gets a StringComparer object that provides case-insensitive string comparisons.  
 TextCompare (get) Gets a StringComparer object that provides case-insensitive string comparisons.  

Methods:

NameDescription
 Create Creates a StringComparer object that compares strings according to the rules of a specified culture.  

See Also

Project CorLib Overview

Class StringComparerStatic Overview

StringComparer