What is Reflection?

It extends the benefits of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained in a given assembly and invoke their methods.
Reflection provides objects that encapsulate assemblies, modules, and types. You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object. You can then invoke the type's methods or access its fields and properties.
Namespace: System.Reflection

Showing Answers 1 - 2 of 2 Answers

samiksc

  • Jan 16th, 2006
 

Reflection is a namespace in .net which allows you to access metadata for loaded types and objects.

It also allows you to create new types and their objects at runtime.

  Was this answer useful?  Yes

sanjay Kumar Das

  • Mar 2nd, 2006
 

Reflection is the mechanism of discovering class information at run time or it is an

technique for reading meta data at run time

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions