Math.Min Method
Returns the smaller of two integers that have been compared with one another.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
public static int Min (
int val1,
int val2
)
- val1
The first of two integers you want to compare. - val2
The second of two integers you want to compare.
The smaller of the two compared integers.
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.