Mid GoF Patterns

Easier Testing:?

  • Each sorting algorithm can be tested independently. Since the algorithms are

encapsulated in their own classes, you don't need to test them within the

context class.

Follow:

When to Use the Strategy Pattern:

More from Design Patterns in C#

All questions for this course