https://bbs.csdn.net/topics/100053438
string idtext = formID.id;
string[] idarry =idtext.Split(",");
说明:formID.id是从form2传过来的,现在在form1对传来字符串进行分割处理,却总是提示“无法将类型"string"转换为"char"”?
原因:应该用单引号
string[] idarry =idtext.Split(',');
标签:转换,string,formID,char,idtext,Split,id From: https://www.cnblogs.com/Dongmy/p/17577946.html