C# string.indexof(string)返回1!!!

下面的代码第一次indexof返回0,第二次indexof返回1。 const string softHyphenPlusHyphen = "\xAD\x2D"; Console.WriteLine("softHyphenPlusHyphen.IndexOf(softHyphenPlusHyphen, StringComparison.Ordinal): " + softHyphenPlusHyp
相关文章
相关标签/搜索