I am fairly new to programming and I have used enumerators mainly for switch statements. When I define them I normally put them in the class/interface file it is mostly related to.
But when I do, I am uncertain whether this belongs in that file or in a separate one. I have looked around the internet but based on the answers given, I feel they are just providing opinions on it without backing it up.
Some say put all your enumerations in one file (but I feel this may be a separation of concerns problem) or group them together into separate files.
I want to know if someone could provide an explanation on where enumerations should be placed BUT base your explanation on common practices such as SOLID or other resources. If you feel this is not possible, then could you please state why.