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