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
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.
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.
Learn how to write some .Net code to use a feature called "reflection" to generate a String containing values from all object fields.
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 VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
Learn to create URLs for webforms that are page-independent.
Learn about trace testing and the tools available for Visual Studio.
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.