Monday, November 9, 2015

Sum values in a collection

int  totalInAggregates = customPatterns.Sum(x => x.VisitCount);

No comments:

Post a Comment