title: How to fix the following code showing this error
body: <p>The following code below is concatenating the double variable .</p>
  
  <p>For example first number is <code>2</code>
  And second is <code>3</code> 
  It is adding them like this <code>2+3;</code>
  <code>23</code></p>
  
  <pre><code>using System;
  
  
  public static class Program 
  {
      public static void Main() 
      {
          double num01;
          double num02;
  
          Console.WriteLine("Add");
          Console.Write("type a number: ");
          num01 = Convert.ToInt32(Console.ReadLine());
          Console.Write("type another number: ");
          num02 = Convert.ToInt32(Console.ReadLine());
          Console.WriteLine("the result is " + num01 + num02);
          Console.ReadKey();
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Lip27.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lip27.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/S6GED.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S6GED.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Cd30J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cd30J.png" alt="enter image description here"></a></p>