change text color writeline c# code example
Example 1: c# change colour of console
Console.BackgroundColor = ConsoleColor.Green;
Console.ForegroundColor = ConsoleColor.DarkGreen;
Console.Clear();
//green on green
Console.WriteLine("yo");
Console.ReadLine();
Example 2: c# console foreground color
Console.ForegroundColor = ConsoleColor.DarkGreen;