c# background color visual studio code example Example: c# console background color Console.BackgroundColor = ConsoleColor.Green;