An Absolute Beginner’s Tutorial on Understanding and Implementing Singleton Pattern in C#

This article is yet another explanation and implementation of singleton pattern. We will look at what is singleton pattern is and how to implement it in C#. This is no way the best and recommended way of implementing singleton pattern in C#. the main idea for this article is just to present the concept of singleton pattern to the reader. Continue reading

An Absolute Beginner’s Tutorial for Understanding and Implementing Strategy Pattern in C#

The aim of this article is to understand the basics of the Strategy pattern and try to see when it can be useful and have a rudimentary implementation for better understanding. This is no way to implement the strategy pattern in real world applications and the example taken is also far from real. The idea of this this article is to illustrate the concept of strategy pattern only. Continue reading