Sunday, May 18, 2008
Extension Methods - My new best friend*
Posted on 9:28 AM by Unknown
No that doesn't mean that I'm going to be [ab]using extension methods everywhere - though I suspect that extension methods could become the new singleton. That said I think that I am really starting to get them. Here's an example. Last night I'm doing some coding and I want to get some objects that I have written to serialise nicely to Xml. Now I don't want to give them public constructors as
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment