1、string 转换成 Char[] string ss = "abcdefg"; char[] cc = ss.ToCharArray(); 2、Char[] 转换成string string s = new string(cc); 3、byte[] 与 string 之间的装换 byte[] bb = Encoding.UTF8.GetBytes(ss); string s = Encoding.UTF8.GetString(bb);