title: why getting null value from console in c# for readLine() after using read()
body: <p>I have the following code</p>
  
  <pre><code>char c1 = (char)Console.Read();
  Console.WriteLine("Enter a string.");
  string instr = Console.ReadLine();
  </code></pre>
  
  <p>It takes a value for <code>c1</code>, after that it prints "Enter a string". However when I try to enter a string, it appears to be working like <code>ReadKey()</code>, meaning that as soon as I press any key it's showing that <code>instr</code> has a null value.</p>
  
  <p>If I remove the first line (<code>char c1 = (char)Console.Read();</code>), program works correctly.</p>
  
  <p>Why is this?</p>