Steve,
Do you want to use it at runtime, or do you just want to generate it?
If you want to use it, it's not going to do you much good, since you will
have to use reflection to actually use it.
However, if you just want to emit the type, take a look at the
EnumBuilder class in the System.Reflection.Emit namespace.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Steve Teeples said:
How does one go about creating an enum at runtime from an array of
strings?