(or enum).
2 depends on what you are using. If you are using unity you may want to choose more components instead of one Base class.
3:
Every non private field should be a property instead. This opens for change without breaking anything. (Open close principle)
5: IMHO namespaces are important too so ask yourself for a good hierarchy.
6: is the solution easy to understand and maintainable? Maybe prefer that over neat solutions nobody will understand.
7: is that solution extensible? Maybe refactoring is needed otherwise.
But overall I would say:
The more projects you finished the more those questions become irrelevant and you just do it (right) by intuition.
Thanks for the help Max I really appreciate it!
Обсуждают сегодня