System.Reflection

The Type class provides a way to access and examine metadata about types. The System.Reflection namespace provides classes and interfaces that allow you to inspect and manipulate the metadata of types at runtime.

Key Concepts

  1. Metadata: Metadata is data about data. In the context of .NET, metadata describes the properties, methods, fields, and other characteristics of types.
  2. Runtime Inspection: ReflectionAssembly, ReflectionType, and related classes enable you to examine and modify type information at runtime.
  3. Type Providers: .NET uses type providers to locate and load types. The runtime uses different type providers to load types from various sources, such as assemblies, dynamic assemblies, and .NET Framework assemblies.

Common Uses

Related Concepts