Beispiel #1
0
        /// <summary>Reads the key.</summary>
        /// <returns>Entered key as character.</returns>
        public char ReadKey()
        {
            ConsoleKeyInfo key = Console.ReadKey();

            Console.Write(Environment.NewLine);
            return(key.ToChar());
        }