Dear all,
I'm quite new to C# and before you all ignore me, I have searched google for over an hour for the answers but haven't found what I want.

To put it as simply as I possibly can, I want to have some code which will select a line from the console and change the background colour of that line.

I already know how to use

Console.BackgroundColor = ConsoleColor.'insert color here';

to change the color of the line, my problem is to have it always highlight the same line (line 3 for instance) regardless of what is printed on that line.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.