Simple Strategy Pattern Introduction

Posted by on Sep 3, 2010 in Articles | Comments Off

Simple Strategy Pattern Introduction

First, open Visual Studio and create a new project.

Call this project “AccountingService”.

Then, add a project called “AccountingProcessor”

Next, add another project and call it “AccountServicesUnitTests”

And finally one last project to contain your business objects called “AccountingCommon”

With iteration one, we want to create a simple program to add two numbers together.

The AccountingService will be called with two parameters, a and b.

Comments are closed.