Skip to content
Quiz · Lambdas and LINQ · lesson 3 of 10

Quiz — Func

What does the program print?

C#
Func<int, int> f = x => x + 1;
int a = f(5);
f = x => x * 10;
Console.WriteLine($"{a} {f(5)}");