Basic Dot Net Question:

Download Job Interview Questions and Answers PDF

What is Reflection in .NET?

Dot Net Interview Question
Dot Net Interview Question

Answer:

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

Download Dot Net Interview Questions And Answers PDF

Previous QuestionNext Question
What is .NET and .NET Framework? What is "Common Type System" (CTS) in .NET?