C Sharp (C#) - LINQ Fundamentals
What will be the output of the following code?
int[] numbers = {1, 2, 3, 4, 5};
var query = from n in numbers where n % 2 == 0 select n;
foreach(var num in query) Console.Write(num + " ");