[Mono-list] How to get enum values?

John Barnette jbarn@httcb.net
Thu, 04 Apr 2002 13:05:00 -0700


At 12:17 PM 4/4/2002, Dennis Hayes wrote:
>What is the best way to get the values of enums in the .NET classes?
>The docs I see only list them in alphabetical order with no int value.
>I assume reflecting them out of the Microsoft implementation would not be
>allowed.

Dennis,

Take a look at mcs/tools/EnumCheck.[cs|exe].


~ j.