Beispiel #1
0
 public override int GetHashCode()
 {
     return(ScoreToAdd.GetHashCode() ^ DiceToRoll.GetHashCode());
 }
Beispiel #2
0
 public bool Equals(FarkleAction other)
 {
     return(ScoreToAdd.Equals(other.ScoreToAdd) && DiceToRoll.Equals(other.DiceToRoll));
 }