Click here to Skip to main content
15,895,667 members
Articles / Programming Languages / C# 4.0

Ending the Great Debate on Enum Flags

Rate me:
Please Sign up or sign in to vote.
4.92/5 (155 votes)
9 Aug 2013CPOL9 min read 219.1K   623   161  
This article explains how enumeration and flags work in C#.NET and how to properly use them.
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Incycle Software
United States United States
I've been a .NET developer since 2006 when I graduated college. I've had lots of opportunities over the years to work on various projects in various industries. In the last few years, I've found my true calling in the DevOps arena. Now, you find me helping companies do better at developing software. When I'm actually away from keyboard, not tinkering with some new technology or side project, you'll find me actively volunteering in my community as EMT/Firefighter.

Comments and Discussions