how to print colored text in c# console code example Example: c# console foreground color Console.ForegroundColor = ConsoleColor.DarkGreen;