Abstract Factory Design Pattern in C#

Abstract Factory pattern comes under Creational Pattern of Gang of Four (GoF) Design Patterns.

In Abstract Factory pattern an interface is responsible for creating a set of related objects, or dependent objects without specifying their concrete classes

Let’s look at the example to illustrate the structure of the¬†Abstract Factory¬†design pattern:

UML Diagram :