c# - class for different uses -
I have a class that is used by two different processes using different properties of the class with each process going. Every time a new asset is required in one process, I add it to the class only. Is this a bad idea? Should I just make two different classes and update them if necessary?
N.B. Sometimes the same property is used by both processes and each process uses a different example of the class.
Common properties can be placed in a class. Then you can get two different classes from the common class and add special properties.
Comments
Post a Comment