How do I make an abstract class that shall force each derived classes to be Singleton ? I use C#.
that would not work because the singleton needs somwhere a static access and that can not be forced.
for singletonimplemention + examples see: Implementing the Singleton Pattern in C#
1.4m articles
1.4m replys
5 comments
57.0k users