Wimdows.NET

Wim's .NET blog

Browse by Tags

All Tags » C# » enum (RSS)
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...
Posted: Feb 23 2007, 03:35 PM by Wim | with 28 comment(s)
Filed under: , ,
Generic Parse method on Enum - a solution
David Findley writes about how he wishes we had a generic Parse method on the Enum class in .NET 2.0. Though I agree in principle, it's actually quite trivial to create a generic static class with a Parse method, which alleviates some of the pain. Here...
Posted: Jul 06 2006, 09:59 AM by Wim | with 14 comment(s)
Filed under: ,
More Posts