Enum Alternatives in C#

added by DotNetKicks
7/27/2016 2:09:19 PM

2 Kicks, 689 Views

Some time ago I wrote about Moving Beyond Enums and published an article on ASPAlliance by the same title. Unfortunately the latter article was largely screenshot-based, and those images seem to have disappeared, so I thought I'd revisit the topic here. Enums are simple value-type flags that provide very minimal protection from invalid values and no behavior.


0 comments