GroupBy and Average with Lambda Expressions(digitalpropulsion.org)
submitted by
panic(35) 2 years, 4 months ago
I was recently tasked with generating a string of averages based on a list of business objects. The business object has a string property called VehicleName and a decimal property called StandardMpg. The averages needed to be calculated per VehicleName, so this is to be what I group on.
|category: Linq
|Views: 210
tags:
LINQ Lambda C# .Net another
Everyones tags:
Your Tags: