S
Scott
Does anyone know how to do a "Clear Screen" (i.e. cls)
with a C# Console Application?
with a C# Console Application?
Morten Wennevik said:Not really, but you can always use
for(int i = 0; i < 80; i++)
{
Console.WriteLine("");
}
Or any number of lines really, 80 is max on XP, but you can still scroll
back further.
Morten Wennevik said:I seem to remember 80 was max you could select (maybe in Windows ME).
However, since you can scroll the command window in Win XP, max seems to
be more like 300.
Scott said:Is there a way to send a "cls" cmd to the Console window
instead? I'm new to C# and I don't know all the library's
I have at my disposal yet.