deferred execution
A query that waits to run until you actually loop over its results.
A deferred LINQ operator returns a query object that does no work until it is enumerated, and re-runs against the current source every time it is enumerated.
Loading interactive…
Examples
var cheap = prices.Where(p => p < 5);does no work yet; the filter runs each time you loop overcheap.
See also