Add interview example with strategy pattern
This commit is contained in:
committed by
Petrutiu Mihai
parent
998c9ea232
commit
8e9bc9f061
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user