|
|
Browse by Tags
All Tags » c# » Strategy Pattern
-
The strategy pattern enables the functionality of an application to be easily extended or modified to cope with new or changed requirements, as shown in the following example.
The code below shows the OrderProcess class which is responsible for processing the payment of an order as shown in the ProcessOrderPayment method
...
|
|
|