Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Red isn't a constant
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01064507
Message ID:
01064548
Views:
17
>Probably because it's an enum - never thought you couldn't create a constant from an enum. I guess you can't...

Color in Color.Red is not an enum but rather a structure. I wonder if a constant can not be a class or a structure, if that is the case I am sure there is a "good" reason for that, but I can't think of a good or even an adequate reason for this.

Einar
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform