Hi,

If you use if or switch, put at the top the most used.
Using if/else could seem longer than reflection, but in the case of reflection 
you need to write 50+ properties.

Regards.

darrengreer wrote:
I'm going to give it a go with the switch statement, thanks to both of you.

I'll let you know how it goes.


Of course, if you can just use numbers, then you can just use
switch()...

/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to