C#中移除list集合中的某一项

 List<SalesStatisticsReportModels> list = new List<SalesStatisticsReportModels>(); 

list.RemoveAll(o => { return o.productname == ""; });

原文地址:https://www.cnblogs.com/tfeblog/p/12706594.html