赞
踩
目录
https://blog.csdn.net/plovjet/article/details/87874980
https://zhidao.baidu.com/question/142795342.html:
- 总结:始终在最后一个类型参数中指定返回值
- 总结:lambda表达式,表示一个匿名函数,=>前面的是参数,后面的是函数体。你可以把它当作一个函数。
- Func<int, int, int> Add = (x, y) => x + y;
- Console.WriteLine(Add(2, 3));
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。