Skip to content

Instantly share code, notes, and snippets.

@dance2die

dance2die/SumDemo.cs

Created Mar 31, 2018
Embed
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