Windows Dev Center

Nullable<T>.GetHashCode Method

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:
© 2015 Microsoft