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.
Design Patterns
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.
[Read more…] about Bridge Pattern with C# exampleProxy 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.
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.
[Read more…] about When and where to use C# Decorator Pattern
Using Singleton Pattern the Right way in C#
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.
[Read more…] about Using Singleton Pattern the Right way in C#