Files
c-sharp/KeyTesting/Program.cs
2022-05-18 20:09:59 +02:00

18 lines
424 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeyTesting {
internal class Program {
static void Main(string[] args) {
while (true) {
Console.WriteLine("new key");
ConsoleKeyInfo key = Console.ReadKey();
Console.WriteLine("\n"+key.Key);
}
}
}
}