Interesting IEnumerable (or IQueryable) Extension Methods
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 :)
精彩评论