[This is preliminary documentation and is subject to change.]
Returns the maximum value for this base data type.
| C# |
public Object MaxValue()
The maximum value, in the appropriate type
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if this base data type is not a
numeric or datetime type. |