byte[] b = System.Text.Encoding.Default.GetBytes(string s); 转成字符串 char[] d = System.Text.Encoding.Default.GetChars(byte[] b); string s = new String(char[] d);