Quiz · Lambdas and LINQ · lesson 8 of 10
Quiz — Where and Select
What does the program print?
List<int> nums = [3, 8, 1, 6];
var result = nums.Where(n => n > 2).Select(n => n * 10);
Console.WriteLine(string.Join(" ", result));What does the program print?
List<int> nums = [3, 8, 1, 6];
var result = nums.Where(n => n > 2).Select(n => n * 10);
Console.WriteLine(string.Join(" ", result));