How to clear screen using c# console application...?like clrscr() in c++..!

Showing Answers 1 - 10 of 10 Answers

Ashok Kumar

  • Dec 18th, 2006
 

Console.Clear() Function

  Was this answer useful?  Yes

Guest

  • Jan 4th, 2007
 

It's in .NET 2.0

  Was this answer useful?  Yes

Prajeesh PM

  • May 17th, 2007
 



consol.clear();

  Was this answer useful?  Yes

Thulasiraman

  • Oct 25th, 2007
 

Is there any other function to clear screen in .Net 1.1

  Was this answer useful?  Yes

baqar

  • Oct 1st, 2011
 

For clear screen in C#/sharp

Code
  1. ClearMyConsole.Clear();

  Was this answer useful?  Yes

sachin

  • Nov 23rd, 2011
 

Yes

Console.Clear() works... its correct.
u can check thru the code i sent

Code
  1. span style="color: #ff0000;">"WELCOME");

  2.            

  3.         }

  4.     }

  Was this answer useful?  Yes

Anuj Malik

  • Oct 5th, 2012
 

Console.Clear();

its work absolute in c#

Code
  1. span style="color: #ff0000;">"""enter student name -: ");

  2.             name = Console.ReadLine();

  3.             Console.WriteLine("enter the marks of physics :- ""enter the marks of chemistry :- ""enter the marks of maths :- ""enter the marks of english :- ""enter the marks of hindi :- ""

  4.                 student name is -:       " +name);

  5.             Console.WriteLine("         total of all marks is -: " + min_marks);

  6.             Console.WriteLine("         percentage  is -:        "

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions