Example #1
0
        public bool Equals(BowlScore bowl)
        {
            if (this.pins == bowl.pins)
            {
                return(true);
            }

            return(false);
        }
Example #2
0
 public BowlScore Add(BowlScore score)
 {
     return(new BowlScore(score.pins + this.pins));
 }