前言:我不明白这是做什么的:
o => o.ID, i => i.ID, (o, id) => o
Run Code Online (Sandbox Code Playgroud)
所以对我很轻松.:-)
我有2个列表需要加入:
// list1 contains ALL contacts for a customer.
// Each item has a unique ID.
// There are no duplicates.
ContactCollection list1 = myCustomer.GetContacts();
// list2 contains the customer contacts (in list1) relevant to a REPORT
// the items in this list may have properties that differ from those in list1.
/*****/// e.g.:
/*****/ bool SelectedForNotification;
/*****/// may be different.
ContactCollection list2 = myReport.GetContacts();
Run Code Online (Sandbox Code Playgroud)
我需要创建第三个ContactCollection,其中包含list1项目属性的所有联系人 …