Exemple #1
0
 public static string Wrap(string text, ConsoleColor color) => $"{color.getValue()}{text}{ConsoleColor.White.getValue()}";
Exemple #2
0
 public static string Map(this string e, List <string> t, ConsoleColor c) => e.Map(t.ToArray(), c.getValue());
Exemple #3
0
 public static string Map(this string e, object t, ConsoleColor c) => e.Map(t, c.getValue());
Exemple #4
0
 public static string Wrap(string text, ConsoleColor color)
     => $"{color.getValue()}{text}{ConsoleColor.White.getValue()}";