Skip to main content

Type Reflection, Late Binding, and Attribute-Based Programming

  • Chapter
Pro C# with .NET 3.0
  • 442 Accesses

Abstract

As shown in the previous chapter, assemblies are the basic unit of deployment in the .NET universe. Using the integrated object browsers of Visual Studio 2005, you are able to examine the public 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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Andrew Troelsen

About this chapter

Cite this chapter

(2007). Type Reflection, Late Binding, and Attribute-Based Programming. In: Pro C# with .NET 3.0. Apress. https://doi.org/10.1007/978-1-4302-0201-1_12

Download citation

Publish with us

Policies and ethics