Exemplo n.º 1
0
 static void Main(string[] args)
 {
     foreach (string arg in args)
     {
         if (arg == "1")
         {
             ExerciseOne.Run();
         }
         else if (arg == "2")
         {
             ExerciseTwo.Run();
         }
         else if (arg == "3")
         {
             ExerciseThree.Run();
         }
         else if (arg == "4")
         {
             ExerciseFour.Run();
         }
         else
         {
             RunAll();
         }
     }
 }
Exemplo n.º 2
0
 public static void RunAll()
 {
     ExerciseOne.Run();
     ExerciseTwo.Run();
     ExerciseThree.Run();
     ExerciseFour.Run();
 }