Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How do I change the color of a line to different colors

I can do it on multiple lines but I was wondering on 1 line only.

I started c# today, so I'm quite new

Answers

  • KurRupptedKurRuppted Member
    edited December 2021

    Console.ForegroundColor = ConsoleColor.(enter a color);

    example: Console.ForegroundColor = ConsoleColor.Green;

Sign In or Register to comment.