如何将以下内容转换为Lambda?
Func<int, string> calcState = delegate(int test) { return (!MyList.All(i => i > test) ? (MyList.Any(i => i > test) ? "ein Paar" : "Keiner") : "alle"); };
c# lambda
c# ×1
lambda ×1