Linq Operators. Briefly

#1 There are kinds of Filtering, Ordering, Set-Based, Quantifiers, Projection, Partitioning, Joining, Grouping, Generation, Equality, Element, etc Operators in Linq

#2 Anonymous types implement custom Equals() and GetHashCode() methods. They compare all public properties for equality within the Equals() method

#3 Linq’s  Join() operator is similar to SQL’s INNER JOIN. Linq’s GroupJoin() operator is similar to SQL’s LEFT OUTER JOIN

#4 The ToLookup operator is similar to the GroupBy operator except it is greedy (an immediate execution)

#5 The DefaultIfEmpty operator replaces an empty collection with a sequence which contains one default value

Advertisements
This entry was posted in .NET, C#, LINQ. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s