Change order of patterns

Change on Iterator example to go from simple to complex
This commit is contained in:
Petrutiu Mihai
2016-06-22 19:38:12 +03:00
parent 35c3c5722d
commit 47cd9fc73d
2 changed files with 7 additions and 11 deletions

View File

@@ -14,8 +14,7 @@ namespace BehavioralPatterns
{
public static void Main(string[] args)
{
IteratorPatternExamples.Run();
Console.ReadKey();
//Chain of responsibillity
//This is usefull when you have a request and you don't know who should process it
ChainOfResponsibillityExamples.Run();
@@ -24,6 +23,9 @@ namespace BehavioralPatterns
CommandPatternExamples.Run();
Console.ReadKey();
IteratorPatternExamples.Run();
Console.ReadKey();
}
}
}