2
Answers

How to sort date in descending order using LINQ ?

Photo of Dhanush K

Dhanush K

3y
3.7k
1

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)