Union,Except and Intersect operator in Linq

added by jalpesh
6/17/2010 3:10:20 PM

1 Kicks, 124 Views

While developing a windows service using Linq-To-SQL i was in need of something that will intersect the two list and return a list with the result. After searching on net i have found three great use full operators in Linq Union,Except and Intersect. Here are explanation of each operator. Union Operator: Union operator will combine elements of both entity and return result as third new entities. Except Operator: Except operator will remove elements of first entities which elements are there in second e...


0 comments