Click or drag to resize
MathMax Method (Byte, Byte)
Returns the larger of two 8-bit unsigned integers.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
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: Byte
Parameter val1 or val2, whichever is larger.
See Also