C#list集合A排除集合B

 

 

   var addList = ListA.Where(x => !ListB.Exists(y => y.dic_id == x.dic_id)).ToList();

posted @ 2021-12-01 09:27  妖狐鬼魅  阅读(508)  评论(0编辑  收藏  举报