Debugging Lambda Expression in Visual Studio 2015

One of my favorite features in Visual Studio 2015 is the support for debugging lambda expressions. This is a big productivity improvement for developers who spend a lot of time writing LINQ queries. Till Visual Studio 2013, if we tried to add a LINQ/Lambda expression to the Quick watch or Immediate window – we used […]

Deferred Execution vs Immediate Execution in LINQ

LINQ provides two different behaviors of Query Execution – Deferred Execution  Immediate Execution Deferred/Lazy Operators Immediate/Greedy Operators  Query is not executed at the point of its declaration.  Query is executed at the point of its declaration. Projection Operator – Select, SelectMany Restriction Operator – WherePaging Operator – Take, Skip Aggregate Functions – Count, Average, Min, […]