tags:

views:

45

answers:

1

Does LINQ to Objects queries cache by LINQ provider when it execute for the second time?

+2  A: 

There is nothing to cache in LINQ-to-Objects, which simply uses a series of extension method calls to generate a chain (or graph) of iterators. It isn't like LINQ-to-SQL, which has to compile the graph into a SQL statement before executing it.

Marcelo Cantos