Strategy Pattern In .NET 2.0(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 7 months ago

Strategy pattern can very handy when a system designer or architect wants to separate algorithms from the system implementation. Also with strategy pattern approach it is very easy to select between different algorithms on the fly. With the introduction of generics in .NET 2.0 implementing strategy pattern is even more easy.

1 comment |category: |Views: 72

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by powerrushpowerrush(3873) 4 years, 7 months ago 0

Ah, yes, the Strategy Pattern. Man I am suprised how useful this pattern turned out when I first learned of it. Favor object composition over class inheritance, as GoF says.

Reply

information Login or create an account to comment on this story