Back to Basics : Singleton Design Pattern using System.Lazy type

This article takes you to a simpler/alternative approach in making a Singleton Design Pattern implementation using System.Lazy class rather that using our traditional approach. Singleton Design Pattern implementation without lazy initialization: This code is thread safe enabled This approach ensures that only one instance is created and only when the instance is needed. Also, the […]

Read more →