It’s not possible, as mentioned in Matt’s answer.
As a workaround you could create a static class that will wrap Console adding desired functionality.
public static class ConsoleEx
{
public static void WriteLineRed(String message)
{
var oldColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine(message);
Console.ForegroundColor = oldColor;
}
}
It’s not ideal, as you have to add that little “Ex”, but flows with code decently well, if that’s any (ehm) consolation:
ConsoleEx.WriteLineRed("[ERROR]")