C#字符串和数组互转时间:2023-03-09 04:14:15 string str = "a,b,c,d,e"; string[] strArray = str.Split(','); //字符串转数组 str = string.Empty; str = string.Join(",", strArray);//数组转字符串