GetHashCode Method
Collapse the table of content
Expand the table of content

CultureInfo.GetHashCode Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public override int GetHashCode()

Return Value

Type: System.Int32
A hash code for the current CultureInfo.

This method overrides Object.GetHashCode.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft