As I do from time to time, here is a batch of three Extension Methods I've written recently: IndicesWhere /// <summary> /// Gets the indices where the predicate...
extension methods
-
Extension Methods Roundup: IndicesWhere, TakeEvery, Distinct
details »
-
Linq: FirstOrFallback
details »
Sometimes you want to use FirstOrDefault, but the default value of T is a valid value that might get returned. If you used FirstOrDefault, you wouldn't know whether the...
-
Closures Prototype Update and Extension Methods
details »
Closures Prototype Update The Closures for Java prototype now allows a closure to access mutated local variables from an enclosing scope. You can download the...
-
Linq: ContainsAtLeast and AggregationOrDefault
details »
I've created a couple of useful extension methods that I like to use with Linq, so here they are: ContainsAtLeast I've noticed that there's no way to find out whether a...
-
Simplifying the WeakEvent Pattern
details »
Building on the work started by William Kempf, I set out to make using the WeakEvent Pattern simpler and more readable. My intention was to make sure the user would have...
-
Linq Extensions Release 2 Now on CodePlex
details »
I've updated my long standing Linq Extensions project on CodePlex to .NET 3.5 RTM and added the latest extension methods. You can open bugs and feature requests using...
-
Java Closures: first prototype
details »
I've finally had some time to make progress on a prototype of closures. If you want to see what an API looks like, you can compare Doug Lea's jsr166y fork-join...
-
Linq to LLBLGen Pro: feature highlights, part 2
details »
In the first part of this series I talked about the fact that Linq to LLBLGen Pro is a full implementation of Linq and why it's so important to use a full linq provider...