Can you Sum() more than one value in a single linq statement.without grouping?
Given class: public class FooAmounts int Id decimal Month1 decimal Month2 ... decimal Month12 decimal Year2 decimal Year3 decimal Future I have IEnumerable<FooAmounts> with 5 entries (Id’s 1-5 funnily enough!) I’d like to create a single new FooAmounts which has the totals of each month/year
... [read more]
Submit a review:
Login required.