Dennis Myrén <de****@oslokb.no> wrote:
Why not having a Reset something method on that object, doing it for you.
Yes, that's certainly the better bet if you are in control of the type.
Of course it means you've got to modify the method every time you add a
field, too. I was assuming that the OP didn't want to do that for
whatever reason, but I think they'd have to be pretty good reasons :)
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too