Enumerate the enum values

  • Thread starter Thread starter Alexander Vasilevsky
  • Start date Start date
A

Alexander Vasilevsky

I have a enum.
I need to get the character array of names of the constants that are
included in this enum.

http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas
Gift
 
Alexander Vasilevsky said:
I have a enum.
I need to get the character array of names of the constants that are
included in this enum.

http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas
Gift

string [] names = System.Enum.GetNames(typeof(enumSomeEnumType));

Mike
 
Back
Top