vrijdag, januari 13, 2006

 

Enumerting all values of an Enum

Get more out of your Enums with the System.Enum

Enum.GetName(typeof(enXXX), 1)

http://blogs.msdn.com/abhinaba/archive/2006/01/14/512656.aspx

I like the more advanced attribute option more because it gives you more flexibility. Ill write an article about that subject when my new site is ready

This site tracked by OneStat.com. Get your own free site counter.