The previous example made use of early binding to print out the vehicle description data for the Winnebago type. This was possible due to the fact that the VehicleDescriptionAttribute class type was defined as a public member in the AttributedCarLibrary assembly. It is also possible to make use of dynamic loading and late binding to reflect over attributes.
Create a new project called VehicleDescriptionAttributeReaderLateBinding and copy AttributedCarLibrary.dll to the project's \bin\Debug directory. Now, update your Program class as follows:
using System; using System.Collections.Generic; using System.Linq; using System.Text;
using System.Reflection; namespace VehicleDescriptionAttributeReaderLateBinding ...