Unexpected behaviour: Defining values in enums

I don't normally regurgitate other blogger's posts like a headless chicken, but in this case it's worth mentioning.

Stephen, a colleague of mine, and a picky sod (who puts their enums in alphabetical order? - no serious comments on that remark, pulllleazee!), ran into some unexpected behaviour with regards to enums. Worth a read.



Comments have been disabled for this content.