System.Collections.CaseInsensitiveComparer.Default Property

Gets an instance of CaseInsensitiveComparer that is associated with the System.Threading.Thread.CurrentCulture of the current thread and that is always available.

Syntax

public static CaseInsensitiveComparer Default { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the CaseInsensitiveComparer instance is created using the parameterless constructor, the System.Threading.Thread.CurrentCulture of the current thread is saved. Comparison procedures use the saved culture to determine the sort order and casing rules; therefore, string comparisons might have different results depending on the culture. For more information on culture-specific comparisons, see the System.Globalization namespace and Encoding and Localization.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0