Emitted code and the DynamicMethod have the benefit of speed and the emitted code can be unloaded when the DynamicMethod goes out of scope, resulting in the best of all worlds.
Latest Reflection Articles
.NET Tip: Using Extension Methods
Extension methods allow you to create utility functions and have them appear to be part or your classes or the built-in classes. You'll learn by making a method from an earlier tip available as an extension method.
.NET Tip: Display All Fields and Properties of an Object
Learn how to display all of the fields and properties of any object. By using a little reflection, you can expose the internals of your objects.
Using Reflection to Dump Objects
Learn how to write some .Net code to use a feature called "reflection" to generate a String containing values from all object fields.
Late Binding and On-the-Fly Code Generation Using Reflection in C#
How to achieve late binding and how to create and execute code on the fly (during runtime) using Refection. Also, discover how to emit MSIL code to stream to the Just-In-Time compiler.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
Control Statements and Basic Loops in C++/CLI
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.

Making Sounds with Waves Using C#
Learn to manipulate existing sound files, and then to create your own custom sounds. You even can dial a telephone from your code.

Manipulating Monitor Brightness in Visual Basic
Create a project that will change your monitor's brightness from within a Visual Basic program.
The Top Challenge for Developers is...
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!