what is lamda function c# code example
Example: how to write c# lamda
Func<int, int> square = x => x * x;
Console.WriteLine(square(5));
// Output:
// 25
Func<int, int> square = x => x * x;
Console.WriteLine(square(5));
// Output:
// 25