private static void MapStr(string str, int code) { for (int i = 0; i < str.Length; i++) { int j = str[i]; Lexmap[j] |= code; } }