static string IntToHex(int c) { return new string(new char[] { '%', intToHex[c>>4], intToHex[c&0x0f], }); }