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
-
Interview Candidate
- Sep 7th, 2004
- 2
- 1988
Showing Answers 1 - 2 of 2 Answers
Related Answered Questions
Related Open Questions
What is Reflection?
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
Related Answered Questions
Related Open Questions