How does deferred LINQ query execution actually work?
Your query can be written like this in method syntax: var query = numbers.Where(value => value >= threshold); Or: Func<int, bool> predicate = delegate(value) { return value >= threshold; } IEnumerable<int> query = numbers.Where(predicate); These pieces of code (including your own query in query syntax) are all equivalent. When you unroll the query like that, … Read more