程序如下:
using System;class test
{
   public static void Main()
   {
      char ch;
      ch = (char)Console.Read();
      Console.WriteLine("你输入的是:" + ch);
   }
}
因为Read()方法是行缓存的,所以总是在输入字符后按一下回车程序才会继续执行。有什么解决的方法呢?