Skip to content

Instantly share code, notes, and snippets.

@olto
Created February 29, 2016 06:42
Show Gist options
  • Select an option

  • Save olto/e8e3b8e82f7f3509048f to your computer and use it in GitHub Desktop.

Select an option

Save olto/e8e3b8e82f7f3509048f to your computer and use it in GitHub Desktop.
using System;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.BackgroundColor = ConsoleColor.Yellow;
Console.Write("Des ");
Console.ForegroundColor = ConsoleColor.Yellow;
Console.BackgroundColor = ConsoleColor.Red;
Console.Write("couleurs");
Console.ForegroundColor = ConsoleColor.Black;
Console.BackgroundColor = ConsoleColor.White;
Console.Write(" dans la console\n");
Console.ReadLine();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment