fooberry

Sweetness without context.

ReSharper Tip of the Day -- Convert to Lambda

August 5th 2008

Since I’m currently stuck in .Net 2.0 within Visual Studio 2005, Lambdas are outside my realm of possibilities; however, as soon as we make the jump to Visual Studio 2008 I will be making much use of this feature.

ReSharper will notice when you have used anonymous delegates in place of a lambda.

And be nice enough to switch them over to a lambda expression for you.

It can also take you back to the anonymous method if you wish.

blog comments powered by Disqus