Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enum Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01323491
Message ID:
01323500
Views:
14
>I'm workign on a WinForms app. I want to create a some enums that I can reference throughout the application. Where do I create these?

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.

Hope this helps,
Einar
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform