title: Why c# compiler not reading the 0 before any digit?
body: <pre><code>int n;
          int[] ar = new int[50];
          Console.Write("Enter the size of array= ");
          n = int.Parse(Console.ReadLine());
          for (int i = 0; i &lt; n; i++)
          {
              ar[i] = int.Parse(Console.ReadLine());
          }
          for (int i = 0; i &lt; n; i++)
          {
              Console.WriteLine("AR["+i+"]="+ar[i]);
          }
          Console.Read();
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/eNu7i.jpg" alt="enter image description here"></p>
  
  <p>As here you can see that when m entering the 09 or 08 its going to remove it and print the 9 and 8. And when same run on the c++ compiler then its print the 0 and 9 on different indices, why the compilers of both language doing behave like this? Why they do not reading it one digit?</p>