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