SHARE
TWEET

Untitled

a guest Jun 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Produto : ProdutoBase
  2.     {
  3.         public Produto(string nome, decimal preco) : base(nome, preco)
  4.         {
  5.         }
  6.  
  7.         public override decimal CalcularPreco()
  8.         {
  9.             Console.WriteLine($"{Nome} valor: {Valor}");
  10.  
  11.             return Valor;
  12.         }
  13.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top