C# program to find the range of data types
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run ——————————————————————————————————————————— Program to print the range of data types ——————————————————————————————————————————— byte | 0 To 255 signed byte | -128 To 127 short | -32768 To 32767 unsigned short | 0 To 65535 int | -2147483648 To 2147483647 unsigned int | 0 To 4294967295 long | -9223372036854775808 To 9223372036854775807 unsigned long | 0 To 18446744073709551615 float | -3.4028235E+38 To 3.4028235E+38 double | -1.7976931348623157E+308 To 1.7976931348623157E+308 decimal | -79228162514264337593543950335 To 79228162514264337593543950335 ——————————————————————————————————————————— kodingwindow@kw:~/csharp$
What Next?
C# Control Statements
Advertisement