public bool Equals(Player player) { return(IsDealer == player.IsDealer && IsSmallBlind == player.IsSmallBlind && IsBigBlind == player.IsBigBlind && PlayerId == player.PlayerId && PlayerName == player.PlayerName && Chips == player.Chips && (StartingHand != null && StartingHand.Equals(player.StartingHand)) && (CurrentHand != null && CurrentHand.Equals(player.CurrentHand)) && CallSum == player.CallSum && CalledSum == player.CalledSum && Folded == player.Folded && Checked == player.Checked); }