How to clear the entire console window?

zimooo2 picture zimooo2 · Jun 4, 2011 · Viewed 51.5k times · Source

I am making a console window RPG, yet I'm having problems clearing the entire console window. Is there a way for me to clear the entire console window with one command?

Answer

keyboardP picture keyboardP · Jun 4, 2011

You can use the Clear() method:

Console.Clear();