Find minimum and maximum supported decimal values in C#

We can use the following code to find the range for a decimal datatype

Console.WriteLine("Minimum value=" + decimal.MinValue);
Console.WriteLine("Maximum value=" + decimal.MaxValue);
Console.ReadKey();

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.