标签:element item enum comm rate com count ring class
Aggregate
Performs a custom aggregation operation on the values in the collection.
IList<String> strList =newList<String>(){"One","Two","Three","Four","Five"};var commaSeperatedString = strList.Aggregate((s1, s2)=> s1 +", "+ s2);Console.WriteLine(commaSeperatedString);//ResultsOne,Two,Three,Four,FiveAverage
calculates the average of the numeric items in the collection.
Count
Counts the elements in a collection.
LongCount
Counts the elements in a collection.
Max
Finds the largest value in the collection.
Min
Finds the smallest value in the collection.
Sum
Calculates sum of the values in the collection.
标签:element item enum comm rate com count ring class
原文地址:http://www.cnblogs.com/wuyicqb/p/6371957.html