Finish StrategyPatternExamples
This commit is contained in:
committed by
Petrutiu Mihai
parent
8e9bc9f061
commit
f08167ff1a
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user