Re: Can enum be added to dynamically
Mike Schilling <mscottschillin g@hotmail.com> wrote:[color=blue][color=green]
> > Indeed - bring on the Java enumerations! (They have a few wrinkles, but
> > generally they're incredibly handy.)[/color]
>
> Can't add to those dynamically either (At least in any supported way. I
> haven't tried to hack into the $VALUES array.)[/color]
No, you can't add to them - but they stil have fabulous advantages
compared with .NET enums.
--
Jon Skeet - <skeet@pobox.co m>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Mike Schilling <mscottschillin g@hotmail.com> wrote:[color=blue][color=green]
> > Indeed - bring on the Java enumerations! (They have a few wrinkles, but
> > generally they're incredibly handy.)[/color]
>
> Can't add to those dynamically either (At least in any supported way. I
> haven't tried to hack into the $VALUES array.)[/color]
No, you can't add to them - but they stil have fabulous advantages
compared with .NET enums.
--
Jon Skeet - <skeet@pobox.co m>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Comment