Beginner C#
Q31 / 100

What is a lambda expression in C#?

Correct! Well done.

Incorrect.

The correct answer is B) An anonymous function using => syntax, assignable to delegates or LINQ expressions

B

Correct Answer

An anonymous function using => syntax, assignable to delegates or LINQ expressions

Explanation

Func<int, int> square = x => x * x; is a single-expression lambda. Multi-line: x => { return x * x; }.

Progress
31/100