rodrigofbm

Untitled

Nov 2nd, 2017
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Banco2
  8. {
  9.     class TotalDeTributos
  10.     {
  11.         public double Total { get; private set; }
  12.  
  13.         public void Acumula(ITributavel conta)
  14.         {
  15.             this.Total += conta.CalcularTributo();
  16.         }
  17.  
  18.     }
  19. }
Add Comment
Please, Sign In to add comment