August 2002
Intermediate to advanced
576 pages
13h 54m
English
Reflection exposes type information at run time, supporting powerful scripting technologies and applications that allow plug-in modules, such as application servers. This chapter details the .NET support for reflection, demonstrating how to gain type information and programmatically instantiate and manipulate types.
Java and .NET both encapsulate the details of a type in a single class: Java relies on java.lang.Class, and .NET defines System.Type. The following sections describe how to obtain System.Type instances.
Local types are those that are directly available within the scope of an application. In Java, local types are those that can be found in the classpath; in .NET, local types are those ...
Read now
Unlock full access