title: Why Doesn't Read() work as Expected?
body: <p>I'm using Visual Studio 2008 for C#.  I can't understand why this simple code does not work as expected.  Any ideas?  Thanks!</p>
  
  <pre><code>using System;
  
  namespace TryRead
  {
      class Program
      {
          static void Main()
          {
              int aNumber;
              Console.Write("Enter a single character: ");
              aNumber = Console.Read(); **//Program waits for [Enter] key. Why?**
              Console.WriteLine("The value of the character entered: " + aNumber);
              Console.Read(); **//Program does not wait for a key press. Why?**
          }
      }
  }
  </code></pre>