public void Visit(MoneyBankAccount moneyBankAccount) { MonthlyIncome += moneyBankAccount.InterestPerMonth * moneyBankAccount.Ammount; }
public void Visit(MoneyBankAccount moneyBankAccount) { NetWorth += moneyBankAccount.Ammount + 210; }