Java vs. C#

Maximums and Minimums


Java
 
To get maximum and minimum values:
Byte.MAX_VALUE
Byte.MIN_VALUE
Short.MAX_VALUE
Short.MIN_VALUE
Integer.MAX_VALUE
Integer.MIN_VALUE
Long.MAX_VALUE
Long.MIN_VALUE
Float.MAX_VALUE
Float.MIN_VALUE
Double.MAX_VALUE
Double.MIN_VALUE



C#
 
To get maximum and minimum values:
System.Byte.MaxValue
System.Byte.MinValue
System.Int16.MaxValue
System.Int16.MinValue
System.Int32.MaxValue
System.Int32.MinValue
System.Int64.MaxValue
System.Int64.MinValue
System.Single.MaxValue
System.Single.MinValue
System.Double.MaxValue
System.Double.MinValue
System.Decimal.MaxValue
System.Decimal.MinValue
...