Tag:green

  • C # Change the background color of the console

    Time:2019-9-27

    Previously, I found a problem related to static constructors that I had unintentionally encountered. Change the background color of the console. static void Main(string[] args) { // Setting Green Console.BackgroundColor = ConsoleColor.Green; Console. WriteLine (“Background color changed”); } This code will look like this when it runs. Not in line with the desired results. So […]