Gets the value, if any, of the current instance.
The value of the current instance.
Type Reason InvalidOperationException Nullable<T>.HasValue is false.
If Nullable<T>.HasValue is true, the instance contains a value, and Nullable<T>.Value returns that value.
If Nullable<T>.HasValue is false, the instance contains no value, and an attempt to read Nullable<T>.Value results in an exception.
This property is read-only.