string s="a啊";
foreach(char c in s)
{
if(Convert.ToInt32(c)>255)
{
Console.WriteLine("{0} 汉字",c);
}
else
{
Console.WriteLine("{0} 字母",c);
}
}
foreach(char c in s)
{
if(Convert.ToInt32(c)>255)
{
Console.WriteLine("{0} 汉字",c);
}
else
{
Console.WriteLine("{0} 字母",c);
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货