With anonymous methods mimic the code layout of a regular method, aligned with the anonymous delegate declaration.
匿名方法模仿普通方法的布局,和匿名委托定义放在一行。
These all accept a delegate, usually in the form of an anonymous method.
这些操作都可以接受一个委托,一般可以使用匿名方法的方式来传递。
An anonymous function is defined within the context of another function, usually by assigning it to a delegate variable.
匿名函数通常通过分配到一个代理变量,来在其他函数的上下文中定义。
应用推荐