字符串转换成Char数组string str="abcdefghijklmnopqretuvwxyz";char[] chars=str.ToCharArray();
char数组转换成字符串char[] chars=new char[]{'a','b','c','d'};string str=new string(chars);