Use underline to separate number to increase readability - CSharp Language Basics

CSharp examples for Language Basics:Hello World

Description

Use underline to separate number to increase readability

Demo Code

using System;//from  ww  w. j  a v  a 2 s  .  c  o  m
class Program
{
   static void Main(string[] args)
   {
      double number = 1_750_036.49;
      Console.WriteLine(number);
   }
}

Result


Related Tutorials