Add interview example with strategy pattern

This commit is contained in:
Petrutiu Mihai
2016-07-05 21:04:06 +03:00
committed by Petrutiu Mihai
parent 998c9ea232
commit 8e9bc9f061

View File

@@ -1,4 +1,5 @@
using StrategyPattern.ArrangeInterview;
using StrategyPattern.ArrangeInterview.Strategy;
using StrategyPattern.LoopWithException;
using StrategyPattern.ShippingCalculator;
using System;
@@ -27,6 +28,13 @@ namespace StrategyPattern
Console.WriteLine("Now the same example, but implemented with strategy pattern");
ShippingWithStrategyExample.Run();
//TODO:add more examples
MagnificLoopExample.Run();
LoopWithExceptionExample.Run();
ArrangeInterviewMotivationalExample.Run(InterviewPersons.Get());
ArrangeInterviewExample.Run(InterviewPersons.Get());
//Show the switch moving problem
}