How to create dynamic enumerations...
Don't ask WHY :)
Sometimes you really want something like this...
And sometimes people can say "you can't" on the discussion boards...
(http://www.dotnet247.com/247reference/__site/85/2004/7/7)
Keep trying until you find the "System.Reflection.Emit.EnumBuilder" class.
(http://msdn2.microsoft.com/library/zkb4f47s(en-us,vs.80).aspx)
Do not get scared, it is supported from ground to top, starting with .net framework 1.0 .
Cool isn't it ?
Sometimes you really want something like this...
And sometimes people can say "you can't" on the discussion boards...
(http://www.dotnet247.com/247reference/__site/85/2004/7/7)
Keep trying until you find the "System.Reflection.Emit.EnumBuilder" class.
(http://msdn2.microsoft.com/library/zkb4f47s(en-us,vs.80).aspx)
Do not get scared, it is supported from ground to top, starting with .net framework 1.0 .
Cool isn't it ?
0 Comments:
Post a Comment
<< Home