예제 #1
0
 public static void Out(string message, ConsoleTextColor color)
 {
     ConsoleExtensions.SetTextColor(color);
     Console.WriteLine(message);
     ConsoleExtensions.SetTextColor();
 }
예제 #2
0
 public static void Exit(int code)
 {
     ConsoleExtensions.SetTextColor();
     Environment.Exit(code);
 }