I've set up some default colors in a C# winforms application like so:
readonly Color ERROR = Color.Red;
readonly Color WARNING = Color.Orange;
readonly Color OK = Color.Green;
As far as I am aware, readonly is essentially a constant for my purposes. If I attempt to define these as constants, the compiler indicates that it must be a compile-time constant, which Color is not.
Am I good leaving these as-is, or is there some way to define these constants that I should be aware of?
(The purpose is simply to have a single location in which to change all of the colors for logging purposes.)