Skip to content

Instantly share code, notes, and snippets.

@peyangu

peyangu/Program.cs

Created Apr 11, 2017
Embed
What would you like to do?
OrderByDescendingメソッド
var personOrderByDesc = personList.OrderByDescending(p => p.Age);
foreach (Person p in personOrderByDesc)
{
Console.WriteLine(p.Name + " : " + p.Age);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.