To find the range for a decimal datatype, write the below code within main method
Console.WriteLine("Minimum value=" + decimal.MinValue);
Console.WriteLine("Maximum value=" + decimal.MaxValue);
Console.ReadKey();
ReadKey() is a method which works similar to getch() function in "c" language.
When you will press F5 key, then you will get the output as
Minimum value= -7922816
Maximum value= 7922816