Compiler Error CS0834
更正此错误
从 lambda 表达式中移除语句。
// cs0834.cs
using System;
using System.Linq;
using System.Linq.Expressions;
public class C
{
public static int Main()
{
Expression<Func<int, int>> e = x => { return x; }; // CS0834
}
}
