private bool NumberDisqualified(List <int> drawList, List <int> compareList, List <LottoOddsTable> lot) { LottoOddsTable tableOfNumDrawn = lot.Where(x => x.numDrawn == ReturnMatchCount(drawList, compareList)).FirstOrDefault(); return(tableOfNumDrawn.percentChance < PercentDisqualify); }
static void WriteTable(LottoOddsTable lot) { Console.WriteLine(lot.numDrawn + " " + lot.numPossible + " " + lot.percentChance); }