Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Banco2
- {
- class TotalDeTributos
- {
- public double Total { get; private set; }
- public void Acumula(ITributavel conta)
- {
- this.Total += conta.CalcularTributo();
- }
- }
- }
Add Comment
Please, Sign In to add comment