I am building a console application (for school). I am displaying a menu, and upon a user selection another menu will be displayed. Is there a way to clear the screen (eg. cls - DOS) .
Thanks.
Shook
Printable View
I am building a console application (for school). I am displaying a menu, and upon a user selection another menu will be displayed. Is there a way to clear the screen (eg. cls - DOS) .
Thanks.
Shook
Here is a C# class that give you more console functionality. You should be able to get the info you need from it because it implements a clearscreen method.
forgot to add the link:
http://www.c-sharpcorner.com/Code/20...SysConsole.asp
Code:Console.Writeline("cls");
:confused: :confused: :confused:Quote:
Originally posted by DevGrp
Code:Console.Writeline("cls");
what is that supposed to do:p clear the msdos screen?:D:D
I;ve tried hellswraith's solution before and it works. But dunno about your cls command:D
Thought that would work, but it did'nt. I guess I was too busy enjoying everquest online. I'm beta testing it for the PS2 :D :D
lol:DQuote:
Originally posted by DevGrp
Thought that would work, but it did'nt. I guess I was too busy enjoying everquest online. I'm beta testing it for the PS2 :D :D
I bougth an Xbox a while ago, when it was $300 :( I want a PS2!!!!!! :(:(:(
I am going to get an Xbox when the price drops + Splinter cell.