Answers for "c# read single key"

C#
0

c# read single key

Console.WriteLine("Enter any Key: ");
ConsoleKeyInfo name = Console.ReadKey();
Console.WriteLine("You pressed {0}", name.KeyChar);
Posted by: Guest on March-31-2021

C# Answers by Framework

Browse Popular Code Answers by Language