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
Discover Code::Blocks, an open source IDE for C/C++.
LINQ has a trick up its sleeve from .NET 4 onwards for dealing with large amounts of data and multiple CPUs. Learn to leverage LINQ.
Create a multi-channel application with DevExtreme and 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.