예제 #1
0
 public virtual double GetAveragePrizeWorth()
 {
     return(Prizes.OfType <LuckyDipBankCheckPrize>().Average(e => e.Worth));
 }
예제 #2
0
 public virtual int GetMaxPrizeWorth()
 {
     return(Prizes.OfType <LuckyDipBankCheckPrize>().Max(e => e.Worth));
 }