The first 200 students can use code PATTERNS20 to get 20% off our 3 new bundles containing 23 new courses:
Creational Design Patterns in C# , Structural Design Patterns in C# and Behavioral Design Patterns in C# !

Design Patterns in C#: Strategy

Learn everything there is to know about the Strategy Design Pattern

The Strategy Design Pattern is a foundational design pattern in software engineering, widely used to define a family of algorithms and make them interchangeable within an application. This pattern is essential for developers, as it allows algorithms to vary independently from the clients that use them, promoting flexibility and adherence to the Open/Closed Principle. The Strategy pattern is particularly useful in applications requiring dynamic behavior selection, such as sorting methods, payment processing, or routing strategies. In this course, Amichai Mantinband will teach you everything you need to understand and apply the Strategy pattern effectively, empowering you to build adaptable, modular, and maintainable applications.

Curriculum

Definition

06:24

Class Diagram

03:13

Payment Processing Example

03:31

Section Recap

01:46

Implementing the Strategy Design Pattern

03:57

Implementing the Payment Processing Example

03:49

Section Recap

00:31

Benefits

01:32

Drawbacks

02:15

Conclusion

00:19

Course Info

Level:
Design Patterns
Duration:
28m
Rating (New):
star

Starting at

$59.99

per month

Subscribe to Pro

About the Author

author_img

Amichai Mantinband

Amichai Mantinband is a Software Engineer at Microsoft and a .NET content creator.
He works on large-scale, distributed systems within Microsoft Office, serving over 100 million daily users. He is a speaker at official .NET conferences, and within Microsoft, he authors and teaches software architecture courses.
Amichai is the author of NuGet packages ErrorOr & Throw and has a .NET programming YouTube channel covering advanced topics such as design patterns, architecture, and best practices.

More courses by Amichai Mantinband