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

Quiz — Where and Select

What does the program print?

C#
List<int> nums = [3, 8, 1, 6];
var result = nums.Where(n => n > 2).Select(n => n * 10);
Console.WriteLine(string.Join(" ", result));