public bool Equals(StampDutyFees other) { if (other == null) { return(false); } return(ForeignBuyersDuty == other.ForeignBuyersDuty && MortgageFee == other.MortgageFee && StampDutyFee == other.StampDutyFee && TotalFees == other.TotalFees && TransferFee == other.TransferFee); }
public override bool Equals(Object other) { if (other == null) { return(false); } StampDutyFees typedOther = other as StampDutyFees; if (typedOther == null) { return(false); } return(Equals(typedOther)); }