System.ComponentModel vs. Reflection

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I'm writing some code where I need to dynamically get information about an
objects properties. I can do this by using the System.ComponentModel
namespace or Reflection. Can someone tell me when you should use which? Is
one faster than the other?

just wondering.
 
I dont think there's a difference, I believe the COmponent model information
still call the Reflection API from time to time, dont quote me on that
though... If you're truly curious I'd fire up ILDASM and poke around...
 
Back
Top