Glossary: C# Beyond the Basics
closure
Also written: captured variable, capture
A lambda together with the outside variables it captures. The lambda keeps a link to the variable itself, not a copy, so later changes to it are seen.
Glossary: C# Beyond the Basics
Also written: captured variable, capture
A lambda together with the outside variables it captures. The lambda keeps a link to the variable itself, not a copy, so later changes to it are seen.