Click or drag to resize
RuntimeHelpersGetHashCode Method
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table.

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static int GetHashCode(
	Object o
)

Parameters

o
Type: SystemObject
An object to retrieve the hash code for.

Return Value

Type: Int32
A hash code for the Object identified by the o parameter.
See Also