Esempio n. 1
0
 public bool Equals(DiceThrowResult other)
 {
     if (Sum != other.Sum)
     {
         return(false);
     }
     if (DieThrows == null)
     {
         return(other.DieThrows == null);
     }
     return(other.DieThrows != null && DieThrows.SequenceEqual(other.DieThrows));
 }