Click here to Skip to main content
15,031,208 members
Everything / Singleton

Singleton

singleton

Great Reads

by Chris875
State pattern and procedural solution illustrated
by Jon Campbell
How to utilize WCF to allow a single instance of any WPF application without needing mutexes, extra assemblies, or special "hacks".
by Scanix
SystemFramework defines interfaces, classes, and types to support a native runtime system with its own garbage collector, delegates, etc. The design of SystemFramework classes is similar to those of the .NET Framework.
by Nick Cosentino
About dependency injected singletons

Latest Articles

by Greg Utas
Yet another article on this topic?!
by honey the codewitch
Creating an application that can run once, but then accept command line args from subsequent runs
by honey the codewitch
This tip demonstrates how to create an app that only allows one instance to run at a time
by Akhil Mittal
In this article, we’ll discuss Lazy initialization, the lazy keyword, why you make singleton class a sealed class and what are the differences between singleton and static class.

All Articles

Sort by Score

Singleton 

Please Sign up or sign in to vote.
5 Aug 2014
Chris875
State pattern and procedural solution illustrated
Please Sign up or sign in to vote.
18 May 2017
Jon Campbell
How to utilize WCF to allow a single instance of any WPF application without needing mutexes, extra assemblies, or special "hacks".
Please Sign up or sign in to vote.
24 Nov 2011
Scanix
SystemFramework defines interfaces, classes, and types to support a native runtime system with its own garbage collector, delegates, etc. The design of SystemFramework classes is similar to those of the .NET Framework.
Please Sign up or sign in to vote.
14 Jul 2015
Shivprasad koirala
In this article we will learn C# Design pattern and Architecture pattern Step by Step with a project.
Please Sign up or sign in to vote.
5 Apr 2013
Boris Brock
This article presents a reusable base class for implementing singletons in C#.
Please Sign up or sign in to vote.
25 Nov 2020
Greg Utas
Yet another article on this topic?!
Please Sign up or sign in to vote.
24 Apr 2017
Habibur Rony
This topic will cover the bad design practice using STUPID and good design practice using SOLID. Detailed explanation for Single Single Responsibility Principle, Open and Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion (DI) Principle.
Please Sign up or sign in to vote.
27 Apr 2015
HiDensity
Localization of an application at runtime - "On the fly"
Please Sign up or sign in to vote.
8 Jan 2018
Akhil Mittal
This article covers Singleton Pattern in the most simplistic and easy to understand. The article will also talk about Static classes and the differences between singleton design pattern and static classes.
Please Sign up or sign in to vote.
9 Jan 2018
Akhil Mittal
In this article, we’ll discuss Lazy initialization, the lazy keyword, why you make singleton class a sealed class and what are the differences between singleton and static class.
Please Sign up or sign in to vote.
11 Oct 2013
ASP.NET Community
Singleton The Singleton Design Pattern ensures that only a single instance of a given object can exist.It does this by making the class