April 2013
Intermediate to advanced
1700 pages
92h 51m
English
At the heart of dynamic programming facilities, we find various services provided by the runtime, one of which is reflection. The goal of this service provided by the CLR and exposed through the Base Class Library (BCL) is to allow you to inspect the characteristics of types, their members, and their containers (assemblies and modules). As you will see later, reflection has additional capabilities that have to do with code generation. Figure 21.3 shows the relationship between instances, types, and the reflection data associated with a type.
FIGURE 21.3 Reflecting on an object’s type produces an object of type System.Type.
Read now
Unlock full access