TRADER Corporation interview question

What is Deferred query execution

Interview Answer

Anonymous

Oct 18, 2018

LINQ, LINQ queries are always executed when the query variable is iterated over, not when the query variable is created. This is called deferred execution. You can also force a query to execute immediately, which is useful for caching query results. This is described later in this topic.