开发者

Interesting IEnumerable (or IQueryable) Extension Methods

开发者 https://www.devze.com 2023-02-04 15:34 出处:网络
Has anyone written some interesting or cool Linq extension methods they would like to share? I\'m attempting to build up a library of such metho开发者_如何学运维ds for our developers, to help them tra

Has anyone written some interesting or cool Linq extension methods they would like to share? I'm attempting to build up a library of such metho开发者_如何学运维ds for our developers, to help them transition into Linq and away from T-SQL.

Thanks very much.


You can find hundreds of user submitted, ranked and commented extension methods on www.extensionmethod.net (for instance, the IEnumerable section contains 40 entries as of today).


I started MoreLINQ - and Reactive Extensions has some extra operators for LINQ to Objects as well, in System.Interactive.

(Both of these are for LINQ to Objects rather than LINQ to SQL. There's a fair amount of overlap, too.)

Just as a blatant plug, I'm likely to blog about some ideas for what else LINQ to Objects might sensibly have had as part of the wrap-up posts for my Edulinq blog series. That may or may not provide some more food for thought :)

0

精彩评论

暂无评论...
验证码 换一张
取 消