如何将这两段代码合二为一?
comCtrList = (from i in genOutList
join f in genAccList
on i.Contract equals f.Contract
select i.Contract).ToList();
genOutList.RemoveAll(acc => comCtrList.Contains(acc.Contract));