Can you inherit from a singleton?

Can you inherit from a singleton?
Answer
Unlike static classes, Singleton classes can be inherited, can have base class, can be serialized and can implement interfaces. You can implement Dispose method in your Singleton class.
 

Tìm kiếm

Back
Top