J
John Hom
Greetings,
I was wondering if there was a way of dynamically
creating enumerations. For example, we could do it
statically like:
enum stuff
zero,
one,
two,
three
end enum
But what if we later discover we need to add "four" to
stuff?
There are two methods, Enum.Parse(), that take a comma-
delimited string, but I don't think this is what I want.
Any help would be greatly appreciated!
Happy Holidays to all!
John
I was wondering if there was a way of dynamically
creating enumerations. For example, we could do it
statically like:
enum stuff
zero,
one,
two,
three
end enum
But what if we later discover we need to add "four" to
stuff?
There are two methods, Enum.Parse(), that take a comma-
delimited string, but I don't think this is what I want.
Any help would be greatly appreciated!
Happy Holidays to all!
John