摘要: string c =“B”;//string 转换为二进制 转换为ascii System.Text.ASCIIEncoding asciiEncoding = new System.Text.ASCIIEncoding();int intAsciiCode = (int)asciiEncoding.GetBytes(c)[0];//ASCII码强制转换二进制 转换为stringbyte[] array = new byte[1];array[0] = (byte)(Convert.ToInt32(intAsciiCode + 1)); c = Convert.ToString(System. 阅读全文
posted @ 2012-11-07 23:07 呓语 阅读(282) 评论(0) 推荐(0) 编辑
welcome to this garden! --Chenly