Optional<T>.GetHashCode method

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

public override int GetHashCode()

Return Value

The hash code of the object returned by the Value property if the HasValue property is true and the Value is not null; otherwise zero.

See Also