Baccarin <pe***@pekus.com.br> wrote:
I would like your opinion. Who is quicker to obtain a
System.Type(): typeof() or System.Type.GetType()?
Are you really getting a Type reference that often that it's likely to
make any difference? I would use typeof if you know the type name at
compile time, as then you get compile-time checking of spelling
mistakes. If you don't know the type name at compile time, you can't
use typeof anyway.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too