C# and iOS Programming
Tips, tricks, snipplets, code examples
Thursday, February 18, 2010
LINQ Conditional Sum
MyList.Where(x => x.Product == "Apple").Sum(x => x.TotalSales)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment