var aa = ltB.FindAll(b => ltA.Any(a => a.PolicyNo == b.ID));//得出不同var expectedList = ltB.Except(aa).ToList();
本文共 164 字,大约阅读时间需要 1 分钟。
var aa = ltB.FindAll(b => ltA.Any(a => a.PolicyNo == b.ID));//得出不同var expectedList = ltB.Except(aa).ToList();
转载于:https://www.cnblogs.com/XuPengLB/p/7521830.html