private static void Swap(StringBuilder s, int i, int j) { char temp = s[i]; s[i] = s[j]; s[j] = temp; } }