Gets the value of the current Nullable`1 object if it has been assigned a valid underlying value.
The value of the current instance.
Type Reason InvalidOperationException Nullable<T>.HasValue is false.
If a value of type T has not been assigned to the Nullable`1 object, you can compare it to null and retrieve its Nullable`1.HasValue property, but you cannot access its Nullable`1.Value property or call its other members.