To change the Console Color, use:
Console.ForegroundColor = ConsoleColor.Red;
To change it back to what it was before:
Console.ResetColor();
To make some default values:
static ConsoleColor ErrorColor = ConsoleColor.Red; static ConsoleColor WarningColor = ConsoleColor.Yellow;
Comments
Post a Comment