Composite pattern with two Examples

In this article I will discuss the Composite pattern with two C# code examples. One is the usual leaf node example and other being the binary tree structure example.

Continue reading

Bridge Pattern with C# example

In this article I will discuss about the bridge pattern in C# with practical example. Bridge pattern is also an structural pattern like Proxy and decorator patterns.

Continue reading

proxy pattern

Proxy Pattern With Practical C# Example

In this article I will discuss about the proxy pattern. This post will also include the use cases where and how this pattern can be used with live C# example.

Continue reading

C# decorator pattern

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.

Continue reading

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 using an example.

Continue reading

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 sometimes become confused about the symbols I thought to come up with this article to have a nice handy reference.


Continue reading