System.Globalization.CultureInfo.GetHashCode Method

Serves as a hash function for the current System.Globalization.CultureInfo, suitable for hashing algorithms and data structures, such as a hash table.

Syntax

public override int GetHashCode ()

Returns

A hash code for the current System.Globalization.CultureInfo.

Remarks

This method overrides object.GetHashCode.

This method generates the same hash code for two objects that are equal according to the CultureInfo.Equals(object) method.

Requirements

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