Udostępnij za pośrednictwem


Reflection

The classes in the System.Reflection namespace, together with System.Type, allow you to obtain information about loaded assemblies and the types defined within them, such as classes, interfaces, and value types. You can also use reflection to create type instances at run time, and to invoke and access them.

In This Section

Reference

  • Type
    The class that represents types in the runtime type system and provides core functionality for reflection.

  • System.Reflection
    The namespace that contains other abstractions for code entities, such as the MethodInfo class that represents methods.

  • System.Reflection.Emit
    The namespace that contains classes for generating dynamic assemblies and dynamic methods.