Some (good?) string extension methods
So, to take a slightly different turn from my usual meta discussions of process, theory, and architecture, there have been several people who have offered up some examples of extension methods that they have found useful, now that .Net 3.5 is roaring along nicely. There are some collections of such utilities, like the Umbrella project, and some folks like Bill Wagner who have written books on the subject (okay, there are other things in there too), so I thought I might as well throw my hat into the ring as well. Specifically, there was this tweet from @elijahmanor a few days ago. It points to a positing which includes some extensions on string to convert from strings to value types (int, long, short, etc). I pointed out that in our current project we have distilled this down to a single extension method: To(). ...