C# Design Patterns - Strategy

added by DotNetKicks
4/8/2019 12:28:05 PM

2 Kicks, 477 Views

The Strategy design pattern is a behavioral design pattern which allows us to define different functionalities, put each functionality in a separate class and make their objects interchangeable. In other words, we have a main Context object that holds a reference towards a Strategy object and delegates it by executing its functionality.