You are creating an application that processes a list of numbers.
The application must define a method that queries the list and displays a subset of the numbers to the user.
The method must not update the list.
You need to create an extendable query by using LINQ.
What should you do?

A.
Option A
B.
Option B
C.
Option C
D.
Option D
The answer is C
14
0
A. could not be compiled because ‘from p in numbersList where p > 10’ needs ‘select p’
B. could not be compiled because Query is not known class of .net standard.
D. compiled but it will be just a loop for string where characters ‘s’, ‘e’, ‘l’, ‘e’.. and so on will be processed.
C. is the right answer.
4
0