December 2004
Intermediate to advanced
1008 pages
21h 40m
English
This next section provides an overview of reflection and how it works. In addition, this section provides examples of using reflection to query information at runtime.
As mentioned in this chapter's introduction, reflection is a technology that allows managed code to inspect various aspects of the code and metadata at runtime. This allows managed code to do simple things such as obtaining a list of the properties belonging to an object instance, or even more complex things such as querying custom attributes or obtaining an image from a resource embedded within an assembly.
One of the main keys to making reflection work is understanding that data types are objects. Understanding ...
Read now
Unlock full access