harriyott.com

Tuesday, July 08, 2008

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.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home