--------------------------------------------------
Black Belt, "Generate Assemblies With Reflection Emit," by Randy Holloway
Visual Studio Magazine, October 2002
--------------------------------------------------

The sample application demonstrates the reflection emit concepts, implementing VB and C# code to emit dynamic assemblies and discover types at runtime.  The code generates a type dynamically and builds a summation method based on user input.  This method is then invoked dynamically at runtime.  The ReflectionEmit solution contains three projects; ReflectionEmit, RESummationCS, and RESummationVB

To run the sample code demonstrating Reflection Emit, open the ReflectionEmit.sln (VS.NET Solution).  This solution contains the following projects:

-	ReflectionEmit driver application (C#, Windows Forms);
-	RESummation (C# component);
-	RESummationVB (VB component).

The ReflectionEmit driver application has references to both the RESummation and RESummationVB components.  These components, when invoked through the driver application, will emit an assembly in the application directory containing the code emitted using the ILGenerator.  

For any questions regarding these sample applications, please contact the author at randy@winformationsystems.com.