Untested Extension method which should be a nice one
You probably know by now that I quite like the upcoming extension methods in .NET 3.5.
I haven’t tested the following code as I don’t have the right framework at hand right now (and I cannot be asked to turn on my laptop), but I don’t see why it shouldn’t work:
[Update 27.09.07: This version now does work, thanks to Christoph as well as a check on my Orcas VM]
Now you can write:
Does it go too far or do you like this stuff?