using
System;
class
GFG {
static
void
Main()
{
byte
b1 = 10, b2 = 15;
decimal
d1 = 1000M, d2 = 1568M;
double
db1 = 15.896745, db2 = 8.62644598;
short
sh1 = -96, sh2 = 24;
int
i1 = 26745236, i2 = 36725413;
long
l1 = -2534234234234, l2 = -745837587527423;
sbyte
sb1 = 52, sb2 = 120;
float
f1 = 8.0f, f2 = 78.78f;
ushort
us1 = 5346, us2 = 6437;
uint
un1 = 432344637, un2 = 64762738;
ulong
ul1 = 34234234, ul2 = 673286478326;
Console.WriteLine(
"Math.Min Method (Byte, Byte) = "
+ Math.Min(b1, b2));
Console.WriteLine(
"Math.Min Method (Decimal, Decimal) = "
+ Math.Min(d1, d2));
Console.WriteLine(
"Math.Min Method (Double, Double) = "
+ Math.Min(db1, db2));
Console.WriteLine(
"Math.Min Method (Int16, Int16) = "
+ Math.Min(sh1, sh2));
Console.WriteLine(
"Math.Min Method (Int32, Int32) = "
+ Math.Min(i1, i2));
Console.WriteLine(
"Math.Min Method (Int64, lInt64) = "
+ Math.Min(l1, l2));
Console.WriteLine(
"Math.Min Method (SByte, SByte) = "
+ Math.Min(sb1, sb2));
Console.WriteLine(
"Math.Min Method (Single, Single) = "
+ Math.Min(f1, f2));
Console.WriteLine(
"Math.Min Method (UInt16, UInt16) = "
+ Math.Min(us1, us2));
Console.WriteLine(
"Math.Min Method (UInt32, UInt32) = "
+ Math.Min(un1, un2));
Console.WriteLine(
"Math.Min Method (UInt64, UInt64) = "
+ Math.Min(ul1, ul2));
}
}