Tag Archives: Design Patterns

Builder Pattern – The Different versions

Hello, In this article I will discuss about one of the simplest considered pattern after singleton pattern. This is the builder pattern. I will discuss here two variations or versions of the builder pattern with C# examples.

C# Null object Design pattern

There is a pattern present to handle the null object in programming. Want to know more about the pattern? Read this article to fully understand the null object design pattern with C# code example. Or are you annoyed of the most frustrating exception of the programming i.e. “NullReferenceException – Object reference not set to an… Read More »

When and where to use C# Decorator Pattern

In this article I will discuss one of the important and structural design pattern. The pattern I want to discuss is the decorator pattern. I will use the C# code example to illustrate the use and implementation of this pattern.

Using Singleton Pattern the Right way

In this article I will discuss about the singleton pattern using the C# language. Along with the singleton pattern I will also discuss the correct way to use this pattern in multithreaded applications and ways in which we can make it thread safe. I will also discuss how it is different from the static class… Read More »

Association Aggregation and Composition with UML symbols

Association, Aggregation and Composition with UML symbols This article explains some of the commonly used UML symbols that we need to understand to design for working on the class level design patterns. Besides association, aggregation and composition there are other UML designs and OOP concepts that we need to be familiar with. Since I myself… Read More »