7 posts about Design Pattern in C# by 5 contributors.
Know Design Pattern in C#? Share what you know with developers who are learning it.
Discover the power of the Composite design pattern in C#, a structural pattern that unifies objects into tree structures, simplifying complex hierarchies for versatile software development.
In this article, we’ll discuss Lazy initialization, the lazy keyword, why to make singleton class a sealed class and what are the differences between singleton and static class.
In this article, learn what a Singleton Design Pattern is and how to implement a Singleton Pattern in C#.
In this series of learning singleton patterns, we learned lazy initialization and eager initializations with practical examples. We also learned why it is necessary to make the singleton class sealed with sealed keyword. In this article, I’ll try to explain the differences between static and singleton class and where to use static and where to use singleton classes.
I always wanted to write about Singleton design pattern in C#. Though there already are many posts available on Singleton design pattern, I’ll try to cover this topic in the most simplistic and easy to understand way.
In this article we will see how to make it Thread Safe.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article