汉子编码装换 c#(Man coded for c#).docVIP

  • 1
  • 0
  • 约3.96千字
  • 约 13页
  • 2017-10-06 发布于河南
  • 举报
汉子编码装换 c#(Man coded for c#)

汉子编码装换 c#(Man coded for c#) 使用系统; 使用system.collections.generic; 使用系统文本; 使用system.text.regularexpressions; 使用system.runtime.serialization; 使用system.runtime.serialization.formatters.binary; 使用System.IO; 使用系统资源; 命名空间smartsearch.chinesewordsegment { 摘要 / / /通用帮助类 // 实用工具类 { #区= =字符处理= = 摘要 / / /把字符转换为全角的(半角转全角) // / / / 参数名=“C” /参数 // 返回 返回 公共静态字符converttoqjc(char c) { 如果(c=32) 返回(char)12288; 如果(c<127) 返回(char)(C + 65248); 返回C; } 摘要 / / /把字符转换为半角的(全角转半角) // / / / 参数名=“C” /参数 // 返回 返回 公共静态字符converttobjc(char c) { 如果(c=12288) 返回(char)32; 如果(c = 65280和C 65375) 返回(char)(C - 65248); 返回C; } / * *下

文档评论(0)

1亿VIP精品文档

相关文档