title: C# script in Visual Studio suddenly stops midway without error
body: <p>I'm trying to make a basic calculator to practice my C# skills. I started yesterday learning the language. I've tried running a debugger but nothing comes up. The script always shuts down in the same location, marked below.
  This is my script:</p>
  <pre><code>static void Main(string[] args)
  {
      string cType; //Type of calculus to be selected
      int num01; //First input number
      int num02; //Second input number
      int result; //Function of num01 and num02
      
      Console.WriteLine(&quot;Please select the type of calculus you wish to perform.&quot; +
          &quot;These are:\nM - Multiplication\nD - Division\nS - Subtraction\nA - Addition&quot;);
      //Informing the user of calculus type they can select
  
      cType = Console.ReadLine();
      //Setting the string cType as what the user inputs
  
      if (cType == &quot;M&quot;)
      //Detecting if the input is M to start multiplication script
      {
          Console.WriteLine(&quot;You have selected multiplication&quot;);
          Console.Write(&quot;Please enter the first number: &quot;);
          num01 = Console.Read();
          //Assign first number to string num01
  
          // THE SCRIPT STOPS WORKING HERE
  
          Console.Write(&quot;Please enter the second number: &quot;);
          num02 = Console.Read();
          //Assign second number to string num02
  
          result = num01 * num02;
          //Calculate result
  
          Console.Write(&quot;{0} * {1} = {2}&quot;, num01, num02, result);
          //Output result as full sentence
      }
  }
  </code></pre>