Visual Studio Toolbox: Design Patterns: Strategy
This is the second of an eight part series where I am joined by Phil Japikse to discuss design patterns. A design pattern is a best practice you can use in your code to solve a common problem. In this episode, Phil demonstrates the Strategy pattern. This pattern enables an algorithm's behavior to be selected at runtime.
Episodes in this series:
- Command/Memento patterns
- Strategy pattern (this episode)
- Template Method pattern
- Observer/Publish-Subscribe patterns
- Singleton pattern
- Factory patterns
- Adapter/Facade patterns
- Decorator pattern
Resources