Anyone explain Reflection with Simple Example? RRS feed

All replies

  • Reflection is a part of oops concept
    Monday, June 13, 2011 8:54 AM
  • why you want to understand with example?


    Monday, June 13, 2011 9:10 AM
  • Reflection allows you to obtain metadata from an object.

    An example would be the autogenerate property of a datagrid.

    Bind the datagrid and it uses reflection to work out the columns of the collection it's been bound to.

    Monday, June 13, 2011 10:58 AM