List of LINQ syntax for immediate execution

These are some of the LINQ syntax for immediate query execution (more to add)-
1. ToList()2. FirstOrDefault3. Aggregate Methods (like Count(), Sum() etc.)4. AsEnumerable()
As I said there are more to add, will keep updating as and when I find more methods.


Happy Coding!!!

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s