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:
01064743
Views:
17
>Ya, you're right - I was looking at the KnownColor which is an enum but the object color is a struct.
>
>Interesting...

Victor,
Yeah it is kind of interesting. Neil posted a section from the docs that explain that a constant can not be a class or a struct. The docs does not explain why a class or a struct can be used as a constant.
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform