Dear all,
I have a problem where I need to re-use the same instance of several classes over and over in my application. Like collections classes.
Is there a way, with reflection for example, of finding out at runtime if an instance of a class already exists and then using that instance?
Or do I have to create Singleton's for each of those classes?
Should I make a class that keeps track of all my other class instances? Is there maybe a pattern to do so?
Thanks in advance for any help.