how to clear the screen in a c# console app 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);
}