Clear a Console
using System;
public class MainClass
{
static void Main(string[] args) {
// Change the console appearance and redisplay.
Console.Title = "Cleared / Colored Console";
Console.ForegroundColor = ConsoleColor.Blue;
Console.BackgroundColor = ConsoleColor.Yellow;
Console.Clear();
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
|