c# clear console to go to next part code example
Example 1: how to clear console in c#
Console.Clear();
Example 2: c# clear console read chache
while(Console.KeyAvailable)
{
Console.ReadKey(true);
}
Console.Clear();
while(Console.KeyAvailable)
{
Console.ReadKey(true);
}