Finish StrategyPatternExamples

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

View File

@@ -27,15 +27,17 @@ namespace StrategyPattern
Console.WriteLine("Now the same example, but implemented with strategy pattern"); Console.WriteLine("Now the same example, but implemented with strategy pattern");
ShippingWithStrategyExample.Run(); ShippingWithStrategyExample.Run();
//TODO:add more examples
MagnificLoopExample.Run(); //This is just for fun (Challenged to loop without using conditions/loops)
LoopWithExceptionExample.Run(); LoopWithExceptionExample.Run();
//This is just for fun (Challenged to loop without using conditions/loops)
MagnificLoopExample.Run();
ArrangeInterviewMotivationalExample.Run(InterviewPersons.Get()); ArrangeInterviewMotivationalExample.Run(InterviewPersons.Get());
ArrangeInterviewExample.Run(InterviewPersons.Get());
//Show the switch moving problem //Show the switch moving problem
ArrangeInterviewExample.Run(InterviewPersons.Get());
} }
private static string GetDescription() private static string GetDescription()