//字符是否为汉字

 public bool IsChinese(char c)  

  •         {  
  •             return (int)c >= 0x4E00 && (int)c <= 0x9FA5;  
  •         }  

 

posted on 2015-07-23 14:37  软件开发学习分享  阅读(140)  评论(0编辑  收藏  举报