예제 #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);
 }