What is reflection?

Q

.NET INTERVIEW QUESTIONS - What is reflection?

✍: Guest

A
All .NET assemblies have metadata information stored about the types defined in modules. This metadata information can be accessed by mechanism called as “Reflection”.System. Reflection can be used to browse through the metadata information.Using reflection you can also dynamically invoke methods using System.Type.Invokemember.

2010-03-30, 4821👍, 0💬