Edit

Share via


CaseInsensitiveHashCodeProvider.DefaultInvariant Property

Definition

Gets an instance of CaseInsensitiveHashCodeProvider that is associated with InvariantCulture and that is always available.

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

Property Value

An instance of CaseInsensitiveHashCodeProvider that is associated with InvariantCulture.

Remarks

Comparison procedures use the CultureInfo.InvariantCulture to determine the casing rules. 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