3 ways to Sort in Descending order via lambdas(www.ginktage.com)
submitted by
isenthil(2304) 8 months, 15 days ago
3 ways to Sort in Descending order via lambdas
In C# , one can sort the List of Objects using Lambdas easily . Until now , i found the LINQ Query to be more easy to sort but after using the Lamba expression , i feel that the lambda expression can also be used effectively to sort in descending order .
For example , i use the below class for the datapublic class Movie
{
public string MovieName { get; set; }
public string Actor { get; set; }
}
|category: C#
|Views: 34
tags:
C# another
Everyones tags:
Your Tags: