What is the Double.MinValue field in C#?
Overview
In C#, Double.MinValue represents the smallest possible value of a double. It is a constant.
Syntax
public const double MinValue
Syntax for the Double.MinValue field in C#
Parameters
This field takes no parameters.
Return value
This field returns -1.7976931348623157E+308.
Example
// use Systemusing System;// create classclass DoubleMinValue{static void Main(){// print value of fieldConsole.WriteLine(Double.MinValue);// perform arithmetic operationsdouble d1 = Double.MinValue + 45.8695;double d2 = 1 * Double.MinValue;double d3 = Double.MinValue + Double.MinValue;// print resultConsole.WriteLine(d1);Console.WriteLine(d2);Console.WriteLine(d3);}}
Explanation
- Line 9: We print the value of
Double.MinValueto the console. - Lines 11–13: We perform some arithmetic operations on the field and store results in
d1,d2andd3variables. - Lines 16–18: We print the results to the console.
Free Resources
Copyright ©2026 Educative, Inc. All rights reserved