News

Imagine that you’re creating a logistics management application. The first version of your app can only handle transportation by trucks, so the bulk of your code lives inside the Truck class. After a ...
Factory method design pattern is one of the most used design pattern in .NET. In this article, I will explain about how to implement factory method design pattern in C#. Factory method design pattern ...
Simple factory, factory method, and abstract factory design patterns A simple factory is one that returns an instance of many different classes. Note that these classes may have the same base ...