R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which LINQ method is used to sort elements in descending order?

  • (A) OrderBy
  • (B) Sort
  • (C) OrderByDescending
  • (D) Reverse

Explanation by: Ram Sharma
`OrderByDescending` sorts the collection in descending order based on the key.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.