Q75
In the following C# code, what does the output represent? 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; int len = posNums.Count(); Console.WriteLine(len); Console.ReadLine();
A.
Execution of code with nothing being printed
B.
Execution of code with printing all numbers
C.
Execution of code with counting total numbers greater than zero
AnswerD.
Run time error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board