What will be the output of given code snippet? class Program { static void Main(string[] args) { int[] nums = { 1, -2, 3, 0, -4, 5}; var posNums = from n in nums where n >= 0 select n; foreach (int i in posNums) Console.Write(i + " "); Console.WriteLine(); Console.ReadLine(); } }
Correct Answer: b) "1 3 0 5"
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions