摘要:
namespaceUnicode与汉字互转{classProgram{staticvoidMain(string[]args){//Unicode转换成汉字Console.WriteLine(Regex.Unescape("\u5b57"));Console.WriteLine();//汉字转换成UnicodeCharmyChar=Convert.ToChar("字");Console.WriteLine(@"\u{0:x4}",(int)myChar);Console.ReadKey();}}} 阅读全文
posted @ 2014-03-13 13:52
fumen
阅读(168)
评论(0)
推荐(0)
浙公网安备 33010602011771号