MathMax Method (UInt16, UInt16) |
Returns the larger of two 16-bit unsigned integers.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static ushort Max(
ushort val1,
ushort val2
)
Parameters
- val1
- Type: SystemUInt16
The first of two 16-bit unsigned integers to compare. - val2
- Type: SystemUInt16
The second of two 16-bit unsigned integers to compare.
Return Value
Type:
UInt16Parameter
val1 or
val2, whichever is larger.
See Also