C# Corner

Related resources for Singleton
  • NULL Object Design Pattern9/19/2019 1:31:43 AM. In this video, we will talk about null object design pattern and will see how we can abstract away our client code from null checks across the entire application.
  • Design Patterns In .NET9/12/2019 10:30:59 PM. .NET Design Patterns - In this tutorial learn everything about design patterns in .NET and how to Implement design patterns using C#.
  • Singleton Design Pattern in Java8/8/2019 1:43:21 AM. In this article, we are going to describe the singleton pattern class in Java.
  • Design Patterns - Singleton 8/4/2019 9:07:02 AM. In this article, I am explaining about the singleton design pattern and its common application areas. Singleton is one of the design patterns in the Gang of Four (GoF) design patterns.
  • Singleton Design Pattern In C#3/31/2019 8:05:35 AM. In this article, learn what a Singleton Design Pattern is and how to implement a Singleton Pattern in C#.
  • Singleton Pattern In C#3/24/2019 10:51:49 AM. In this article, you will learn about the singleton pattern in C#.
  • Learn Design Pattern - Builder Pattern2/26/2019 3:17:13 AM. In this article we will talk about the Builder Pattern.
  • Learn Design Pattern - Singleton Pattern2/26/2019 2:39:05 AM. In this article we will try to understand what Single Pattern is, what kind of problem it solves and how it should be implemented in ASP.NET.
  • C# Heap(ing) Vs Stack(ing) In .NET - Part Four1/5/2019 6:26:39 AM. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll look further into Garbage Col
  • Design Pattern For Beginners - Part-1: Singleton Design Pattern12/11/2018 5:34:10 AM. Today let’s start with very common and easy design pattern called Singleton design pattern.
  • Design Pattern For Beginner: Part 5: Composite Design Pattern12/11/2018 4:54:34 AM. In this article we will be learning how to implement composite design pattern in application.
  • Dependency Injection - Service Lifetimes6/21/2018 9:35:05 AM. The article gives a short and simple example of Service lifetimes, when using DI pattern in the application.
  • Learn About Static VS Singleton6/15/2018 10:23:44 AM. 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.
  • Singleton Implementation With Real World Example6/1/2018 8:33:09 AM. This article describes different ways of singleton pattern implementation and how to make the singleton class thread-safe. I have described with real time problem and given a reference of source code
  • Singleton Design Pattern In C# - Part Two (Eager and Lazy Initialization in Singleton)1/11/2018 11:47:34 PM. 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.
  • Singleton Design Pattern In C# - Part Three (Static vs Singleton)1/11/2018 5:22:33 PM. 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
  • Singleton Design Pattern In C# - Part One1/11/2018 1:10:23 AM. 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 t
  • Your Singleton Might Not Be "Single"11/21/2017 9:33:03 AM. Singleton has been a very popular design pattern as it is proven to have some advantages compared to the global variables
  • Singleton Vs Static Classes6/27/2017 3:04:10 AM. Why do you use a Singleton class if a Static class serves the purpose What is the difference between Singleton and Static classes and when do you use each one in your program?
  • Singleton Design Pattern In C#3/23/2017 11:50:13 AM. In this article, we are going to learn Singleton design pattern in C#.
  • Working With Singleton Design Pattern In Real Time Projects9/13/2016 7:10:45 AM. In this article, you will learn, what Singleton is and how to use Singleton pattern in projects.
  • Design Patterns Simplified - Part 2 (Singleton)7/18/2016 5:12:58 AM. This article explains what Singleton Design Patterns is, addresses common questions and finally illustrates the implementation.
  • Implementing The Singleton Design Pattern6/15/2016 12:31:44 AM. In this article, you will learn how to implement the Singleton design pattern.
  • Design Patterns in WinJS #6: Singleton5/29/2016 3:26:30 PM. This article covers the implementation of Singleton Design Pattern. This is part six of the article series.
  • Singleton In OData v4 Using Web API5/16/2016 12:56:22 PM. In this article you will learn about Singleton in OData v4 using Web API.
  • Singleton Design Pattern Vs Static Class11/2/2015 12:32:06 AM. In this article, I will demonstrate you what is singleton design pattern and static class.
  • Implementing Singleton Design Patterns6/9/2015 12:37:32 PM. This article describes how a Singleton Design Pattern can be implemented and the difference between a singleton class and static class.
  • C# Singleton Design Pattern Example: Part 24/28/2015 12:52:54 AM. In this article we will see how to make it Thread Safe.
  • C# Singleton Design Pattern: Part 14/25/2015 7:29:03 PM. This article explains the basics of the Singleton Design Pattern.
  • The quest for the Generic Singleton in C#10/18/2014 12:24:02 PM. While it is a bit tricky to implement the Singleton pattern in C#, the steps necessary are well known. There has however been debate about a generic solution for this. This paper provides 3 possible solutions for the generic singleton, and makes a brief comparison.
  • Design Patterns in C#3/16/2014 12:13:39 PM. This article describes design patterns for software development.
  • Real Example of Singleton Design Pattern8/10/2013 11:38:44 PM. This article attempts to explain the Singleton Design Pattern. I am not going to provide any formal definition of it, I will just share what I understand about it. Let's consider a real-world example to understand it better.
  • Singleton Pattern in PHP1/14/2013 1:28:10 PM. In this article I explain how to create a singleton pattern in PHP.
  • Singleton Pattern in iPhone12/16/2012 3:04:54 PM. In this article I will explain the Singleton Design Pattern with example.
  • Learn Design Pattern - Bridge Pattern10/9/2012 11:16:56 PM. In this we will explain the Bridge Pattern.
  • Learn Design Pattern - Proxy Pattern10/9/2012 8:13:16 PM. In this article we will explain Proxy Pattern.
  • Introduction to Parametric Singleton Pattern10/4/2012 11:55:17 AM. This article explains about Parametric Singleton Pattern.
  • Creational Patterns - Singleton10/4/2012 9:01:59 AM. This article discusses the implementation of the Singleton Design Pattern.
  • .NET Remoting: The Interface Approach9/30/2012 2:33:35 AM. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services. .NET Remoting is easier to use than Java's RMI, but definitely more difficult than creating a WebService. In this article, we will create a remote object, and access this object using the Interface.
  • Singleton Pattern in C#9/29/2012 6:37:35 AM. In this article we will see how to create a single instance of a class using Singleton Pattern.
  • Singleton Pattern5/15/2012 2:38:55 PM. In this article we will implement Singleton pattern to maintain global variables in Winform application.
  • Singleton Pattern Unleashed in C#5/15/2012 2:34:47 PM.
  • Singleton Pattern - Creational Pattern5/15/2012 2:12:39 PM. This is a part of the Creation Pattern. This pattern ensures that you have only one instance and provides a single point of contact to access the instance.
  • Singleton Design Pattern5/15/2012 1:49:37 PM. A design pattern is a general repeatable solution to a common problem that occurs in the software industry. A design pattern is not completely a form of code, but it is a template for how to solve the problem and also can be used in many other problems.
  • Remote Sensing and Remote Control over the Internet with GP-3 Board 5/13/2012 5:47:11 AM. In this article we will revisit the GP-3 board (which we have employed in a few other hardware projects on C# Corner) and use the GP-3 to measure temperature in a remote location.
  • Singleton Design Pattern5/13/2012 5:05:47 AM. This article talks about Singleton design pattern.
  • Singleton and Prototype Patterns5/13/2012 3:49:24 AM. Singleton and Prototype patterns fall under Creational Design Patterns which deal with object creation.
  • Design Patterns: Strategy Pattern2/9/2012 11:34:10 PM. I was using other design patterns like observer, singleton, memento for some time. I never thought, at least it was never highlighted to me, the use of the Strategy pattern!! Until today!!
  • Singleton Pattern11/18/2011 12:38:35 AM. Most of you will have heard of this pattern. It is the simplest and a popular pattern among the 23 design patterns.
  • Singleton Design Pattern in C#8/26/2010 12:31:03 AM. Design Patterns provide solutions to common recurring problems. Design patterns can be classified as creational, structural or behavioral .Singleton and Factory patterns are two of the creational pattern.Here we will discuss these two patterns.
  • Singleton Objects, C# 4/8/2010 11:59:58 PM. In this article I will explain you about Singleton Objects using C#.
  • Singleton Design Patterns in C#6/9/2009 5:34:42 AM. Whenever we want that a class has only one instance and it should have global point to access it but allowing the flexibility to create more objects if the situation changes,in that case we will use Singleton Design Pattern.
  • Implementing Design Patterns in C# - Singleton Pattern7/24/2007 11:28:58 AM. There are times, when one need to have a class which can be only instantiated once. Singleton Design Pattern addresses to such situation by providing a design for such classes (known as Singleton class).
  • Singleton Pattern7/12/2006 5:31:13 AM. The singleton design pattern is designed to restrict instantiation of a class to one (or a few) objects. This article talks about building .NET applications using singleton pattern.
  • Handling the Queuing of Messages in a Multithreaded Program1/27/2006 5:52:54 AM. In the financial world you have to deal with messages being spewed at you in large quantities at a rapid rate. For example stock quotes, market data, and orders come flying at you through some sort of wire and you as a programmer have to handle them in a way that doesn’t overwhelm you or the machine.
  • Chat Server and Client in C# Using Remoting Technology1/6/2006 12:20:24 AM. This application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in Windows Forms.
  • Singleton Patterns in C# Revised12/21/2005 6:58:39 AM. I am coming from the Java world, where synchronizing the Singleton creation is common practice.
  • Creational Patterns – Singleton11/28/2005 11:07:02 PM. This article discusses the implementation of the Singleton Design Pattern.