Lambda Expression

A compact function value written with the => operator.

What is Lambda Expression in C#?

Lambda Expression — A compact function value written with the => operator.

class LabelFormatter
{
    Func<string, string> uppercase = text => text.ToUpper();
}

Level: Freelancer · More C# terms at this level

Updated

In other subjects