Tuesday, 21 December 2010

What is Reflection? and Uses

Reflection is ability to read metadata at runtime
Uses Of Reflection
1. Viewing Metadata.
2.Performing type discovery.
3.Late binding to methods and properties (dynamic invocation)
4.Creating new types at runtime(Reflection EMIT)

1) Load assemblies dynamically
2) Invoke methods at runtime
3) Retriving type information at runtime.

No comments:

Post a Comment