Enum - the good, the bad, the ugly and how to kill them
The blessed enumeration I remember when I first learned about enumerations; they opened a whole world of easy coding and I think they have their place….CommandType anyone? But really, let's kill them. How often have you seen this… enum StatusEnum { Active, Inactive, New, Deleted }
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.cs...
[More]