title: Reading console input in MonoDevelop
body: <p>I am trying to a simple C# program that takes input and passes it as output. For instance, the output should be:</p>
  
  <pre><code>What is your name?
  {user input}
  Your name is {user input}
  </code></pre>
  
  <p>The program is: </p>
  
  <pre><code>public static void Main(string[] args)
  {
      Console.WriteLine("What is your name?");
      string name = Console.ReadLine();
      Console.WriteLine("Your name is: " + name);
      Console.ReadKey();
  }
  </code></pre>
  
  <p>This is enclosed in a class called 'MainClass'</p>
  
  <p>Its output is:</p>
  
  <pre><code>What is your name?
  Your name is:
  </code></pre>
  
  <p>Why is this not working and how can I make it work?</p>
  
  <p>P.S. I am using MonoDevelop and I added Console.ReadKey(); after the last WriteLine. No change.</p>