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