Vidyalelo
C# Programming · Q8

LINQ (Language

Programming · C# Programming · question 8

Q8

What is the purpose of the OrderByDescending operator in LINQ?

A.
Filters a sequence based on a predicate
B.
Sorts the elements of a sequence in descending order based on a key
Answer
C.
Projects each element of a sequence
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board