Closures
Captured variables, display classes, allocations, loop trap, leaks, static lambdas
A closure is a function bundled with the variables it uses from the scope around it, so it can keep using them after that scope has returned. In C#, any lambda (see the Lambda Expressions module), anonymous method or local function that…