Skip to content

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.

Where the book teaches it

Related terms

lambdadelegate