How can I get current console colors (foreground/background)?
I have a method to output single line with changed foreground:
public void ColorLine(string line, System.ConsoleColor foreground)
{
// maybe save original foreground color here
// then change it
System.Console.ForegroundColor = foreground;
// write line
System.Console.WriteLine(line);
// set original color
System.Console.ForegroundColor = // original foreground color;
}