Chapter 9Performing Set Operations
In This Chapter
Finding Distinct Elements
Defining Exclusive Sets with Intersect
and Except
Creating Composite Resultsets with Union
“Ah, well, then I suppose I shall have to die beyond my means.”
—Oscar Wilde
Set operations are like knights in the game chess. Set operations—like knights—help you move in imaginative ways. The set operations are implemented as extension methods. Distinct
selects a distinct element ...
Get LINQ Unleashed for C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.