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.

"post-text" itemprop = "text">

Common properties can be placed in a class. Then you can get two different classes from the common class and add special properties.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -