LINQ Intersect Query Operator
By Peter Bromberg
Produces the set intersection of two sequences.
var infoQuery =
(from cust in db.Customers
select cust.Country)
.Intersect
(from emp in db.Employees
select emp.Country)
;
LINQ Intersect Query Operator (897 Views)