Dhanush K

Dhanush K

  • 541
  • 2.3k
  • 193.7k

How to sort date in descending order using LINQ ?

Apr 29 2022 5:08 PM

Need to display dates in descending order from database table. How to write LINQ query in C# to display dates in descending order?

Eg:

21-03-2022

03-02-2022

17-04-2022

08-01-2022

31-01-2022

01-12-2021


Answers (2)