Should I store my global constants in a resource file (.resx) or in classes?

I have many different shapes and types. Of course, I will not store the bitmap as const , and I know about localization strings, but what should I do with other constants?

+7
c # constants
source share
1 answer

Put the constants related to the display of the user interface in the resources.
Put "constants" related to the application configuration, such as connection strings in app.config
Put the constants related to the program stream in C # classes.

+14
source share

All Articles