Skip to content

Instantly share code, notes, and snippets.



Created Mar 31, 2018
What would you like to do?
private static void SumDemo(List<Order> orders)
var totalQuantities = orders.Sum(order => order.Quantity);
WriteLine($"SumDemo - Total Quantities: {totalQuantities}");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment