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 Basic Syntax Articles - Page 4
Building small applications from scratch is easy enough with almost any available programming technology. However, if you are assigned the task to build large applications and have the requirement to re-use code either now or tomorrow, you need to be a lot more careful. Microsoft has ready-made patterns that help you build complex Windows Presentation Foundation applications with reusability and componentized design in mind.
Going on to design a dockable panel, discover some very interesting techniques, such as hooking the mouse and how to debug an application in such cases. Learn to unpin a docked panel so it slides to the border of the main application.
Learn how to create your own Progressbar-like control, which exposes the same properties as a normal Progressbar, but with added visual appeal.
Learn about parsing, and creating classes and expressions.
Learn how to create more advanced docking features, such as docking to the upper right corner or having some panels docked at the bottom of an MDI Form collected together in a TabControl. Each of the different parts include the full source code (up to that point), as well as a retrospective short explanation about the different topics covered already.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
With facilities to search, copy, extract segments, and more, the array class can handle pretty much any task you need to perform with ease.
Enhance your development skills and make your users' lives easier.
If you have written solid code, you have accomplished one half of the objective. Solid code is the protagonist, or hero, of our story, but testing is the more sedate side kick that often saves the day after the hubris of the hero has almost certainly lead to calamity.