Whats the best way to do this?
Im working on quite a large program, and i would like to store all my error messages as string variables inside a dedicated .cs file so they are easy to update, baring in mind these need to be accessible over the entire project, whats the best way of doing it? I realise global variables are against the idea of OOP, but there must be a suitable method for doing this :confused:
I assume they need to be inside the same namespace, and also inside a class. Could some give me an example .cs file that i can include, Also can this be done so i could use the strings without making a new instance of the class everytime i need to use one.
Thanks for any tips.