c# clear console input code example Example: c# clear console read chache while(Console.KeyAvailable) { Console.ReadKey(true); }