Uređivanje

Dijeli putem


CaseInsensitiveHashCodeProvider.Default Property

Definition

Gets an instance of CaseInsensitiveHashCodeProvider that is associated with the CurrentCulture of the current thread and that is always available.

public:
 static property System::Collections::CaseInsensitiveHashCodeProvider ^ Default { System::Collections::CaseInsensitiveHashCodeProvider ^ get(); };
public static System.Collections.CaseInsensitiveHashCodeProvider Default { get; }
static member Default : System.Collections.CaseInsensitiveHashCodeProvider
Public Shared ReadOnly Property Default As CaseInsensitiveHashCodeProvider

Property Value

An instance of CaseInsensitiveHashCodeProvider that is associated with the CurrentCulture of the current thread.

Remarks

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

Applies to

See also