- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication4
- {
- class Program
- {
- static void Main(string[] args)
- {
- char inputChar = Console.ReadKey().KeyChar;
- Console.WriteLine("\n{0}",inputChar);
- Console.ReadKey();
- }
- }
- }
复制代码 |