Link to home
Start Free TrialLog in
Avatar of milani_lucie
milani_lucieFlag for United States of America

asked on

Strategy Design Pattern - What it is ? Why it is needed ? - C#

Hi,

Can you please explain to me in simple words:

What is Strategy Design Pattern ?
Why it is needed ?

Please do NOT provide me links / articles.

Thanks
Avatar of TommySzalapski
TommySzalapski
Flag of United States of America image

A strategy design pattern is a design pattern where it is not known ahead of time what algorithms will need to be run on whatever data may be coming into the system.
All the algorithms that may need to be used are compiled into the program and then the characteristics of the data or the users choices determine which algorithm should run.
ASKER CERTIFIED SOLUTION
Avatar of jimmycdinata
jimmycdinata
Flag of Indonesia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial