MathMin Method (Byte, Byte) |
Returns the smaller of two 8-bit unsigned integers.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static byte Min(
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 smaller.
See Also