namespace HeuristicLab.Problems.ProgramSynthesis { public static class CharExtentions { public static string Printify(this char c) { switch (c) { case '\0': return "\\0"; case '\a': return "\\a"; case '\b': return "\\b"; case '\f': return "\\f"; case '\n': return "\\n"; case '\r': return "\\r"; case '\t': return "\\t"; case '\v': return "\\v"; default: return c.ToString(); } } } }