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

Nullable<T>.GetHashCode Method

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

Retrieves the hash code of the object returned by the Value property.

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

public override int GetHashCode()

Return Value

Type: System.Int32
The hash code of the object returned by the Value property if the HasValue property is true, or zero if the HasValue property is false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft