Method GetValueOrDefault
GetValueOrDefault(T)
Gets the parameter value if this instance has a value, or the specified default value if this instance has no value.
Declaration
public T GetValueOrDefault(T defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| T | defaultValue |
Returns
| Type | Description |
|---|---|
| T |