博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年7月1日

摘要: 1: //===GroupBy=== 2: //IEnumerable<IGrouping<TKey,TElement>>列举型别 3: IEnumerable<IGrouping<string,Authors>> contacts = from author in Authors 4: group author by author.State; 5: //GroupBy转换后,存储在IGrouping 6: //IGrouping<TKey,TElement> 7: foreach(IGrouping<string,Autho 阅读全文

posted @ 2011-07-01 15:01 12hao 阅读(1062) 评论(0) 推荐(0)