为什么在.net(Windows 8)下这个字符串比较返回true?
"\u0022".StartsWith("\u204D");
在所有文化中都是如此,如果将StartsWith切换为Equals,则返回false.
对于StartsWith比较,有许多不同的字符返回true.这是奇怪的Unicode规则的一部分还是Windows在这里有自己的规则?
.net c# unicode string-comparison
.net ×1
c# ×1
string-comparison ×1
unicode ×1