public void InitializeCombos(int numCombos) { for (int i = 0; i < numCombos; ++i) { Combo c = new Combo(comboLength); while (ContainsCombo(c)) { c.Generate(comboLength); } combos.Add(c); } }