//根据任务id过滤数据 Func<RfidCodeResultDto, bool> expression = c => c.lineTaskId == _lineTaskId; rfidCodeInfoList = rfidCodeInfoList.Where(expression).ToList();
c# list 使用Where()方法过滤数据
原文:https://www.cnblogs.com/siyunianhua/p/10886703.html