score:1

Accepted answer

The LINQ expression indicators will be re-evaluated every time you call GetEnumerator. You need to force a single evaluation by invoking ToList or ToArray. This could of course result in memory space issues if you are expecting many indicators.


Related Articles