Note on capturing value of a variable in an anonymous function
Extraction from “C# programming language 4th edition” When not captured, there is no way to observe exactly how often a local variable is instan-tiated: Because the lifetimes of the instantiations are disjoint, it is possible for each instantiation to simply…