Hello, I would like to know the command to clear the keyboard buffer in C #.
I tried several commands but none worked, I do not know what to do.
while (Console.KeyAvailable) { Console.ReadKey(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)