CaseInsensitiveHashCodeProvider.Default Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.