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



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

Answer / 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

More Dot Net General Interview Questions

Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

2 Answers   Siebel Systems,


What tools is used to develop .NET applications?

1 Answers  


What are nullable types in .NET

1 Answers   TryTechnicals Pvt Ltd,


Why inheritance is important?

1 Answers  


How to find methods of a assembly file (not using ILDASM) Reflection

1 Answers  


How do you handle Start, Pause, Continue and Stop calls from SCM within your application?

1 Answers  


How to produce an assembly?

1 Answers  


Explain about .net?

1 Answers  


How inheritance works in .net?

1 Answers  


What are the different parts of an Assembly in .Net?

1 Answers  


Explain can the validation be done in the server side? Or this can be done only in the client side?

1 Answers  


What is PageIndex in DataGrid?What is the event used in the Datagrid for while moving from one page to another page in the Grid?write code for it

2 Answers  


Categories