September 2008 Entries

Reskinned and Renamed

As you probably noticed (unless you're aggregating my blog), I've renamed and reskinned. Partly, I renamed the blog to reflect the fact that I'm doing very little with System.Speech at the moment. I've moved into a more technical architect role, including training and mentoring developers. As a result, my blog will focus more on performance optimizations, tips and tricks, coding "more betterer" and the like
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Creating and Calling Extensions Methods

One of the challenges in introducing new language features into our code base is that they're not always well understood. As a result, some interesting discussions come up. Today's subject is extension methods -- what are they, how to write them and how to use them. Let's start by examining a piece of code I wrote while doing some dynamic SQL parsing. There was a lot of code to remove the trailing " AND " from my criteria strings that looked like: s = s.Substring(0, s.Length - 5) I got tired of having...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati