.net list<string> 转list<int>。.net 字符串集合转Int集合。.net string集合转int集合。.net list string转list int。list string 转list double 电脑版发表于:2022/6/19 17:28 **.net list string 转list int** 代码如下: ``` var strList = new List<string>{"1","2","3"}; var intList = strList.Select<string,int>(x =>Convert.ToInt32(x)); ``` **list string 转list double** 代码如下: ``` List<string> result = _lnglat_data.Split(",").ToList(); List<double> intList = result.Select<string, double>(x => Convert.ToDouble(x)).ToList(); return intList; ```