How can I sort generic list DESC and ASC? With LINQ and without LINQ? I\'m using VS2008.
class Program { static void Main(string[] args) { Li
Very simple way to sort List with int values in Descending order:
li.Sort((a,b)=> b-a);
Hope that this helps!