Examveda

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

C. Projects each element of a sequence

D. None of the above

Answer: Option B


Join The Discussion

Related Questions on LINQ (Language Integrated Query) in C Sharp