Design Patterns – Singleton
From Wikipedia:“In software engineering, the singleton pattern is a software design pattern that restricts the instantiation of a class to one ‘single’ instance. This is useful when exactly one object is needed to coordinate actions across the system. The term comes from the mathematical concept of a singleton.“ In this post, we will see how to implement this pattern in a .NET Console application. We… Read More »