Math.Max Method (UInt32, UInt32) |
Returns the larger of two 32-bit unsigned integers.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static uint Max(
uint val1,
uint val2
)
Parameters
- val1
- Type: System.UInt32
The first of two 32-bit unsigned integers to compare. - val2
- Type: System.UInt32
The second of two 32-bit unsigned integers to compare.
Return Value
Type:
UInt32Parameter
val1 or
val2, whichever is larger.
See Also