日期:2014-05-17 浏览次数:21469 次
CultureInfo 拼音 = new CultureInfo(0x804);
CultureInfo 比划 = new CultureInfo(0x20804);
string s1 = "一";
string s2 = "啊";
int c0 = string.Compare(s1, s2, StringComparison.Ordinal); // -1866
int c1 = string.Compare(s1, s2, 拼音, CompareOptions.None); // 1
int c2 = string.Compare(s1, s2, 比划, CompareOptions.None); // -1