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

List<SalesStatisticsReportModels> list = new List<SalesStatisticsReportModels>(); list.RemoveAll(o => { return o.productname == ""; });

posted on 2020-04-15 17:12  *tfe*  阅读(1720)  评论(0编辑  收藏  举报

导航