Learn how to take a string and convert it into an enumeration value.
Latest Enumerations Articles
The documentation on Microsoft's flags enumerations is rather sketchy at best, but offers a more ideal solution for a great many problems. The problem is, with such little documentation it can be very time consuming to figure out how to use them correctly. Here is a small walkthrough explaining a relatively simple means of interacting with them through use of the bitwise OR operator.
How to convert a string value to a given enumeration type using System.Reflection.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
The Singleton pattern is very flexible. Learn to wrap it around your little finger.
Learn how to change your screen's wallpaper, screensaver, and its settings as well as change your screen's resolution.
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!