The body of a lambda expression can be an expression or a statement block whereas the body of an anonymous method can only be a statement block.

  • 表达式的主体可以是一个表达式或者是一个声明块,而匿名函数的主体只能是声明块。
目录 查词历史