这什么情况?第一次遇到,输入这几个特殊字符后直接找不到@=返回-1,源码放出来大家试一下
string nn = "txt@=˃̣̣̥᷄⌓˂̣̣̥᷅"; int i = nn.IndexOf("@="); Console.WriteLine(i); Console.Read();