Static class is implicitly abstract meaning Static class object can neither be created nor instantiated whereas Singleton pattern allows us to create a single (only one) instance of a class.
source https://www.c-sharpcorner.com/article/learn-about-static-vs-singleton/
No comments:
Post a Comment