Click or drag to resize
NullableTGetValueOrDefault Method

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public T GetValueOrDefault()

Return Value

Type: T
The value of the Value property if the HasValue property is true; otherwise, the default value of the current NullableT object. The type of the default value is the type argument of the current NullableT object, and the value of the default value consists solely of binary zeroes.
See Also