摘要:
//字符“您”的UCS2编码为:60A8(十六进制数字)//编码stringning="您";varchs=ning.ToCharArray();intintVal=chs[0];strings1=intVal.ToString("X");//转码intnum=Int32.Parse(s1,System.Globalization.NumberStyles.HexNumber);strings2=string.Format("{0}",(char)num);usingSystem;usingSystem.Collections.Gen 阅读全文