I'm writing a console C# program. I would like to change the foreground and the background color of the text in console.
Console.BackgroundColor//t set the background color for the text. Console.ForegroundColor//to set the foreground color for the text. Console.ResetColor();//set back the foreground color and background color to the default.
2.1m questions
2.1m answers
60 comments
57.0k users