Creating anonymous methods is essentially a way to pass a code block as a delegate parameter.
要将代码块传递为委托参数,创建匿名方法则是唯一的方法。
For use with anonymous methods, the delegate and the code to be associated with it are declared together.
为了与匿名方法一起使用,委托和与之关联的代码必须一起声明。
This topic explains how Code Analysis handles warnings and metrics that are associated with anonymous methods.
本主题说明程式码分析如何处理与匿名方法相关联的警告和度量资讯。
应用推荐