DesignPatternsCSharp

Factory pattern

-Multiple classes -Factory class that uses enum to create a concrete instance

Decorator pattern

-Every class has its own properties -Decorator class that has a shape and calls methods -New properties for the basic classes are added by new decorator classes that inherit the base decorator

Facade pattern

-Has a maker class that makes instances of the basic classes and methods for all of them

Strategy pattern

-Context class that gets a strategy and performs operations for the current strategy

Template pattern

-Abstract class inherited by concrete classes

Chain of Responsibility pattern