Created
June 2, 2019 12:03
-
-
Save CristianoRC/0082cac486f007d996afb4eede7f4b5c 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 Real | |
{ | |
public Real(decimal valor) | |
{ | |
Valor = valor; | |
Nome = "Real brasileiro"; | |
Codigo = "BRL"; | |
} | |
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