C# 逗号分隔的字符串转数组,string数组转int数组
逗号分隔的字符串转数组
var deviceVarID=“1,2,3,4”;
//string[] strArray = deviceVarID.Split(',');
string数组转int数组
//int[] ids = new int[] { };
//ids = Array.ConvertAll<string, int>(strArray, s => int.Parse(s));
树立目标,保持活力,gogogo!