public void CrackPasswords() { foreach (var password in _passwordProvider.Produce()) { var morePasswordsToCrack = CrackPassword(password); if (morePasswordsToCrack) { continue; } ProductionFinished("No more passwords to crack"); return; } ProductionFinished("No more combinations to produce"); }