Mono Class Library: System.Nullable<T> Overview | MembersSystem.Nullable<T>.GetValueOrDefault Overloads |
The overloads of GetValueOrDefault are listed below. For a list of all members, see the Nullable<T> Members list.
GetValueOrDefault() : T Returns the value of the current instance, or if it has none, returns the default value for the type T.GetValueOrDefault(T) : T Returns the value of the current instance, or if it has none, returns alternateDefaultValue.