We chatted about this at work today…

I was lucky enough to have lunch in the same room as Scott Guthrie last weekend at the ALT.NET conference. He gave an impromptu presentation on some of the new features of C# 3.0. One thing that looks really cool is extension methods.

It struck me today that if Vegas were giving out odds on the class most likely to have the most extension methods written against it, that the DateTime class might be the front runner. I mean, is there a more heavily used object in .NET that is a bigger pain in the ass to work with? (I’ll wait here while Ayende comes up with one :) )

I know that I, for one, can’t wait to start extending that bugger and do away with some of the static helper methods we have floating around…

One Comment

  1. Ayende Rahien says:

    No, I hate DateTime as well.
    I want to have Date and Time as well, btw.
    And then DateRange, TimeRange, and DateTimeRange.