通过List集合对象的转类型函数 .ToArray()

如List<decimal> → deciaml[]

代码如下:

            var ComIdList = ComList.Select(p => p.ComId).ToArray();


 

 

相关文章: