2010-02-12 202 views

回答

2

可以不使用LINQ。這裏:

var identical = applicableProducts.Intersect(currentProducts); 

您可能還需要提供您自己的IEqualityComparer

+3

即使用LINQ。 'Intersect'在'System.Linq'命名空間中定義。 – 2010-02-12 14:19:27

相關問題