System.StringComparer: Property Members

The properties of System.StringComparer are listed below. For a list of all members, see the StringComparer Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
static
CurrentCultureStringComparer.

Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the current culture.

[read-only]
static
CurrentCultureIgnoreCaseStringComparer.

Gets a StringComparer object that performs case-insensitive string comparisons using the word comparison rules of the current culture.

[read-only]
static
InvariantCultureStringComparer.

Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the invariant culture.

[read-only]
static
InvariantCultureIgnoreCaseStringComparer.

Gets a StringComparer object that performs a case-insensitive string comparison using the word comparison rules of the invariant culture.

[read-only]
static
OrdinalStringComparer.

Gets a StringComparer object that performs a case-sensitive ordinal string comparison.

[read-only]
static
OrdinalIgnoreCaseStringComparer.

Gets a StringComparer object that performs a case-insensitive ordinal string comparison.