Skip to content

Instantly share code, notes, and snippets.

@CristianoRC
Created June 2, 2019 12:04
Show Gist options
  • Save CristianoRC/89e15e6cc65437ae7d4c4fe4999481e5 to your computer and use it in GitHub Desktop.
Save CristianoRC/89e15e6cc65437ae7d4c4fe4999481e5 to your computer and use it in GitHub Desktop.
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