adspace


Explain what are the deferred execution and the immediate execution in linq?

Answer Posted / Arti Pal

"Deferred Execution" means that LINQ methods return immediately, and the query is executed only when a result is needed (e.g., by calling 'ToList' or 'First'). "Immediate Execution", on the other hand, means that the query is executed as soon as it is called, regardless of whether a result is actually required.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1141