harriyott.com

Extension methods in C# again

I'm getting extension methods into my regular "coding vocabulary" (i.e. I remembered to use one). I was wondering why String didn't have a Right() method, to save doing maths to work out the numbers to call SubString(), so I decided to write one.

8 July 2008