Linq中的常用方法

System.Linq 

System.Linq.Enumerable  类

Range

Repeat

Reverse

Select

Where

Sum

Zip

Aggregate

Count

FirstOrDefault

Join

Max

Min

 

//Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence

SingleOrDefault

posted @ 2015-07-10 14:52  ChuckLu  阅读(224)  评论(0编辑  收藏  举报