private static bool IsAscii(char c) { //ASCII non-control chars ['!'-'/', '0'-'9', ':'-'@', 'A'-'Z', '['-'''', 'a'-'z', '{'-'~'] all consecutive. return (c >= '!' && c <= '~'); }