Created
June 2, 2019 12:04
-
-
Save CristianoRC/89e15e6cc65437ae7d4c4fe4999481e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Dolar | |
{ | |
public Dolar(decimal valor) | |
{ | |
Valor = valor; | |
Nome = "United States dollar"; | |
Codigo = "USD"; | |
} | |
public string Nome { get; private set; } | |
public string Codigo { get; private set; } | |
public decimal Valor { get; private set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment