private static void ExecuteAllExercises() { BasicExercises.ExecuteAllBasicExercises(); DataTypesExercises.ExecuteAllDataTypeExercises(); ConditionalStatementsExercises.ExecuteAllConditionalStatementsExercises(); }
private static void NavigateUsersRequest() { int request = (int)GetUsersRequest(0); Console.Clear(); switch (request) { case 1: BasicExercises.ShowBasicExerciseMenu(); break; case 2: DataTypesExercises.ShowDataTypeExerciseMenu(); break; case 3: ConditionalStatementsExercises.ShowConditionalStatementsExerciseMenu(); break; //case 4: // ShowCaveOfProgrammingExerciseMenu(); // break; case 5: CryptoExercises.ShowCryptoExerciseMenu(); break; case 6: ReturnToMainMenu = true; BasicExercises.ExecuteAllBasicExercises(); break; case 7: ReturnToMainMenu = true; DataTypesExercises.ExecuteAllDataTypeExercises(); break; case 8: ReturnToMainMenu = true; ConditionalStatementsExercises.ExecuteAllConditionalStatementsExercises(); break; //case 9: // ReturnToMainMenu = true; // ExecuteAllCaveOfProgrammingExercises(); // break; case 10: ReturnToMainMenu = true; CryptoExercises.ExecuteAllCryptoExercises(); break; case 11: ReturnToMainMenu = true; ExecuteAllExercises(); break; case 12: Environment.Exit(0); break; default: Console.Clear(); ReadKeyAndClear(); Main(new string[] { }); break; } }