static void Main(string[] args) { if (args.Length != 1) { DisplayHelp(); } else { ConsoleColors.SetConsoleColor((byte)(Enum.Parse(typeof(ConsoleColor), args[0]))); } }