Community

.NET Tip: Converting Strings to Enum Values

(Jay Miller) Occasionally, I run across the need to see whether a string holds a valid enumeration value. I prefer to not add comparisons to specific string values when I already have an enumeration with all possible valid values. The solution is to try to convert the string into an enumeration valu

Read More - Register for Free Membership