Lambda 表达式的基本形式 基本形式:(input parameters) => expression其中:运算符“=>”读作“goes to”。例如:() => 5 * 3;(x) => x * x;x => x * x; //输入参数个数为1时,可省略括号(x, y) => x * y;转载于:https://www.cnblogs.com/godwit... Other 2023-10-18 142 点赞 2 评论 215 浏览