Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enum Question
Message
From
12/06/2008 12:15:46
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01323491
Message ID:
01323519
Views:
9
Einar,

>
>You can create them in any class that is accessible from the rest of the application :)
>For one project solutions I have sometimes put application wide enums in the class that contains static void Main() (by "default" in Program.cs)
>
>In bigger solutions I have created a class with "generic" enums.
>

I don't typically put Enums in a class and hadn't really thought of doing that. What would be the advantage? Do they become only accessable to the class if they are not declared public?
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform