|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
What is a good method of clearing the console in a C# console application?
It is quite easy to do this in C++, but in C# how would one go about clearing the console?
I see no obvious methods in the Console class.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#2
|
|||
|
|||
|
Did You Try following.
WinConsole.Clear() However, you can also see the article about System.Console class in the link below: http://www.codeproject.com/csharp/winconsole.asp |
|
#3
|
|||
|
|||
|
Ok, that looks like a pretty good option... but there is nothing native is there? I assumed from reading that quick article that I could probably find the correct command in the API somewhere.
I'll do a little searching... thanks for your feedback. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > What is a good method of clearing the console in a C# console application? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|