Click or drag to resize
MathMin Method (UInt32, UInt32)
Returns the smaller of two 32-bit unsigned integers.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static uint Min(
	uint val1,
	uint val2
)

Parameters

val1
Type: SystemUInt32
The first of two 32-bit unsigned integers to compare.
val2
Type: SystemUInt32
The second of two 32-bit unsigned integers to compare.

Return Value

Type: UInt32
Parameter val1 or val2, whichever is smaller.
See Also