Created
February 25, 2018 03:00
-
-
Save dance2die/90f8485e2a88d682bc695a87279ab8bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void OrderByDescendingDemo(List<Order> orders) | |
{ | |
var orderedOrders = orders.OrderByDescending(order => order.Quantity); | |
PrintOrders(orderedOrders); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment