Func<int,int,int> plus =(a,b) =>{ return a+b; }; Func<int,int> text = a => a+1;
方法只有一个参数时,可以不加()
只有一条语句时,可以不写{}和return