Saturday, 12 September 2009

What do you mean by Attributes and Reflection

Attributes is a techniques for adding metadata, just like compiler instructions and other data about your data, methods, and classes, to the program itself. Attributes are inserted into the metadata and are visible through ILDasm and other metadata-reading tools. Reflection is the process from which a program can read metadata that of its own. A program is said to reflect on itself, extracting metadata from its assembly and using that metadata either to in