
namespace ConsoleAppearance
{
class Program
{
static void Main(string[] args)
{
//Changing the Title of Console
Console.Title = "Test Console ..";
//Changing The Foregroud of
Console"
Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine("Console foregound color ");
//Setting Window Size
Console.SetWindowSize(100, 50);
//Changing the Back gound color
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.ForegroundColor = ConsoleColor.DarkRed;
Console.WriteLine("Testing back +fore color ");
Console.ReadKey();
}
}
}
Conclusion
We have just seen in the article about how to control the appearance of the Console Window.

Join the conversation! Your thoughts help the community grow.