class Program { static void Main(string[] args) { int[] nums = { 1, -2, 3, 0, -4, 5 }; int len = /*_________________ */ Console.WriteLine("The number of positive values in nums: " + len); Console.ReadLine(); } }

a)from n in nums where n > 0 select n

b)from n in nums where n > 0 select n.Count()

c)(from n in nums where n > 0 select n).Count();

d) Both “from n in nums where n > 0 select n.Count()” & “(from n in nums where n > 0 select n).Count();”

c

Explanation: None.

Output:

3