Pro C# 7 pp 561-607 | Cite as

Type Reflection, Late Binding, and Attribute-Based Programming

  • Andrew Troelsen
  • Philip Japikse


As shown in Chapter 14, assemblies are the basic unit of deployment in the .NET universe. Using the integrated Object Browser of Visual Studio (and numerous other IDEs), you are able to examine the types within a project’s referenced set of assemblies. Furthermore, external tools such as ildasm.exe allow you to peek into the underlying CIL code, type metadata, and assembly manifest for a given .NET binary. In addition to this design-time investigation of .NET assemblies, you are also able to programmatically obtain this same information using the System.Reflection namespace. To this end, the first task of this chapter is to define the role of reflection and the necessity of .NET metadata.

Copyright information

© Andrew Troelsen and Philip Japikse 2017

Authors and Affiliations

  • Andrew Troelsen
    • 1
  • Philip Japikse
    • 2
  1. 1.MinneapolisUSA
  2. 2.West ChesterUSA

Personalised recommendations