Exemplo n.º 1
0
        public void ExecutarInvestimento(ref Conta conta, Investimento investimento)
        {
            double lucro = investimento.CalculaRetorno(conta.Saldo);

            conta.Saldo += lucro * 0.75;
        }