When a closure "captures" a variable it "lifts" the variable out of its local scope and effectively moves it into an anonymous object.
当一个闭包“捕获”一个变量时,它就会将这个变量提取出它的本地范围,移到一个匿名对象里。
2
Type Inference - the var keyword, which is necessary when using anonymous types, can also reduce redundancy in your other variable declarations.
类型推断—使用匿名类型时,关键字var必不可少。它还能减少你其他变量声明中的冗余。
3
Lambda functions (or "anonymous functions," as they are often referred to) are simply throwaway functions that can be defined at any time and are typically bound to a variable.