From Delegates to Lambdas with ReSharper 4.0

Yet another tool I've been late coming to - JetBrains ReSharper. While working though Link in Action I was experimenting with ReSharper 4.0. So cool and extremely helpful when looking at delegates and lambdas. Here's a delegate assignment..Predicate<DateTime> isMinimum = delegate(DateTime input) { return (input == DateTime.MinValue); };
And here's the equivalent as a lambda..Predicate<DateTime> isMinimum = input => (input == DateTime.MinValue);
And here's the ReSharper magic that converts from lambdas to delegates and back again...

Category