What are the deferred execution and the immediate execution in linq?



What are the deferred execution and the immediate execution in linq?..

Answer / Pooja Bangari

Deferred execution means that the query is not executed until its results are actually needed. This allows for more efficient use of resources. Immediate execution, on the other hand, means that the query is executed as soon as it's written. The difference between the two is a key feature of LINQ and can significantly affect performance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Explain what is the difference between a class and an object, and how do these terms relate to each other?

1 Answers  


How many types of design patterns available in .NET?

1 Answers  


Can you configure a .NET Remoting object via XML file?

1 Answers  


How can you instantiate a tuple?

1 Answers  


Difference between assembly manifest & metadata assembly manifest

4 Answers   Ksb,


What is .net standard?

1 Answers  


What?s the Unix name for a Windows service equivalent?

1 Answers  


What are the fundamental objects in ADO.NET?

1 Answers  


What is Finalizer in .NET define Dispose and Finalize ?

1 Answers   MCN Solutions,


Explain code access security.

1 Answers  


How will you load dynamic assembly? How will create assemblies at run time?

1 Answers   InfoAxon Technologies,


What is the base class of Button control in .NET?

1 Answers  


Categories