I am not posting any code, I just need some information . Please. I am new to this kind of architecture where different classes are made and they are consumed. How can I make a class which holds the enums or regular expressions constants and stuff. Show I be making a class where I will have to write these enums making them as global. I have some code which i found on google.
// Correct
public enum Color
{
Red,
Green,
Blue,
Yellow,
Magenta,
Cyan
}
// Exception
[Flags]
public enum Dockings
{
None = 0,
Top = 1,
Right = 2,
Bottom = 4,
Left = 8
}
Is this the way I should keep enums in the other class.?