uses of Reflection

  • Thread starter Thread starter MeDhanush
  • Start date Start date
M

MeDhanush

Hi,

I'm aware of Reflection, as run time engine, that allows you to read
an assembly types and members of types.
And VS.NET and ILDASM makes use of Reflection etc etc ...,

My question is, Can Reflection helps me in any other way for
application development, apart from it's use by tools and CLR.

TIA
MeDhanush
 
Yes, like when you want to exploit a feature that you just can't get to
through normal "public" ways. For instance the autogenerated columns in a
DataGrid are held internally in an ArrayList so you can only access it by
prying at the internals with Reflection.

It can also come up when you try to develop plugin architectures where you
only have partial type visibility, say an interface, but you need to
"reflect" to see if a plugin dll supports the write interface.

drew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top