Which code should you use?

You have the following code:

You need to retrieve all of the numbers from the items variable that are greater than 80.
Which code should you use?

You have the following code:

You need to retrieve all of the numbers from the items variable that are greater than 80.
Which code should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
Example: All number larger than 15 from a list using the var query = from num in numbers…
contstruct:
var largeNumbersQuery = numbers2.Where(c => c > 15);
How to: Write LINQ Queries in C#
https://msdn.microsoft.com/en-us/library/bb397678.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *