Пример #1
0
        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);
        }
Пример #2
0
 static void WriteTable(LottoOddsTable lot)
 {
     Console.WriteLine(lot.numDrawn + " " + lot.numPossible + " " + lot.percentChance);
 }