ConsoleColor.Red : ConsoleColor « System « C# / C Sharp by API






ConsoleColor.Red

 
using System;

public class Test{
   static void Main(string[] args){
      Console.Title = "Standard Console";
      Console.ForegroundColor = ConsoleColor.Red;
      Console.BackgroundColor = ConsoleColor.Green;
      Console.WriteLine("Press Enter to change the Console's appearance.");
      Console.ReadLine();
  }
}

   
  








Related examples in the same category