コード例 #1
0
 public bool IsShootSpecial(LotteryRecord record)
 {
     if (IsSpecial)
     {
         return(record.Special == Number);
     }
     return(false);
 }
コード例 #2
0
 public bool IsShoot(LotteryRecord record)
 {
     if (IsSpecial)
     {
         return(false);
     }
     return(record.First == Number || record.Second == Number || record.Third == Number ||
            record.Fourth == Number || record.Fifth == Number || record.Sixth == Number);
 }