Related resources for Pattern in C#
  • Null Object Design Pattern in .NET Core6/7/2024 4:27:35 AM. A behavioral design pattern called the Null Object Pattern offers an object to represent an interface's missing object. In cases when a null object would result in a null reference exception, it&#
  • Using The Strategy Pattern In C#5/14/2024 11:44:18 AM. The Strategy Pattern in C# facilitates flexible behavior encapsulation by defining a family of algorithms, encapsulating each one, and making them interchangeable. This promotes code reuse and simplif
  • Using The Proxy Pattern In C#5/7/2024 10:20:16 AM. Explore the Proxy Pattern in C#, a structural design pattern facilitating controlled access to an object. Enhance security, logging, and lazy initialization for efficient client-server communication a
  • Singleton vs. Static Class in C# - Choosing the Right Approach4/17/2024 4:54:57 AM. Singleton and Static classes can only have one instance available in memory, and both classes can be used to maintain the global state of an application, however, there are many differences between th
  • C# Composite Design Pattern9/26/2023 6:01:58 AM. 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.
  • Singleton Design Pattern In C# - Part Two (Eager and Lazy Initialization in Singleton)8/31/2023 5:06:38 AM. 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.
  • Adapter Pattern in C#8/29/2023 9:43:42 AM. In this article I would like to examine the adapter pattern in C# using a simple example.The Adapter Pattern is a design pattern used in software engineering to enable the collaboration of incompatibl
  • Singleton Design Pattern In C#6/6/2023 8:51:56 AM. In this article, learn what a Singleton Design Pattern is and how to implement a Singleton Pattern in C#.
  • Using The CQRS Pattern In C#2/28/2023 9:30:23 AM. In this article, you will learn about the CQRS pattern in C#.
  • Command Design Pattern in C#9/2/2022 9:41:48 AM. Here you will learn about the Command Design Pattern in C#.
  • Using The Plugin Pattern In C#8/20/2021 3:12:16 PM. In this article, you will learn about plugin patterns in C#.
  • Using The Flyweight Pattern In C#4/22/2021 5:07:24 AM. In this article, you will learn how to use the flyweight pattern in c#.
  • Observer Design Pattern in C#3/31/2019 12:43:25 AM. In this article you'll learn how to implement the Observer Design Pattern in C#.
  • Specification Pattern In C# - Composite Specifications12/3/2018 8:38:19 AM. This article is a continuation of my first article on Specification Pattern in C#. I recommend that you read it for a better understanding of background concepts. In the first part of this article, I
  • Specification Pattern In C#11/28/2018 4:22:32 AM. First, I’d like to say that I wrote this article because of the difficulty I faced when I tried to research the specification pattern. I saw a lot of confusing videos and articles online. I was eventu
  • 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
  • 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.
  • Adapter and Facade Design Pattern in C#2/24/2014 2:11:47 PM. This article discusses the comparison of Adapter and facade design pattern in C#.
  • Composite Patterns in C#10/3/2012 8:22:26 AM. A Composite is a tree structure consisting of individual objects mixed with compositions of objects, that is, objects that have other objects as their children.
  • Adapter Pattern in C#10/3/2012 8:13:30 AM. The Gang Of Four (GoF) defined the Adaptor pattern as follows in their most famous book "Design Patterns" Gamma et al. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces."
  • Mediator Pattern5/13/2012 2:13:43 AM. In this article I would like to take you through the advantage of using Mediator Pattern. As always, Design Patterns if properly used gives us more flexibility and manageability.
  • Iterator Pattern2/12/2012 5:02:24 AM. In this article we are going to discuss about the Iterator design pattern.
  • Interpreter Pattern1/27/2012 3:17:10 PM. In this article I would like to demonstrate use of the Interpreter pattern.
  • Composite Pattern1/27/2012 3:10:19 PM. In this article we will explore the Composite Design Pattern. It provides a better approach in addressing communication with an individual and a group of objects.
  • Observer Pattern in C#2/25/2011 11:25:02 AM. Here I am sharing a good note on the Observer Pattern!!
  • Factory Pattern in C#1/20/2011 12:43:27 PM. The Factory Pattern is a Creational Pattern that simplifies object creation. You need not worry about the object creation; you just need to supply an appropriate parameter and factory to give you a product as needed.
  • 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.