Mega Code Archive
Categories
/
C# Tutorial
/
Development
Change the Console Foreground and Background color
using System; public class MainClass { static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Red; Console.BackgroundColor = ConsoleColor.Green; } }