string s = "....";
int nc = 0;
int ne = 0;
for (int i=0; i < s.Length; i++)
{
if (0x4e00 <= s[i] && s[i] <= 0x9fa5)
nc++;
else
ne++;
}
int nc = 0;
int ne = 0;
for (int i=0; i < s.Length; i++)
{
if (0x4e00 <= s[i] && s[i] <= 0x9fa5)
nc++;
else
ne++;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货