Skip to content

Instantly share code, notes, and snippets.

@marcel-valdez
Created August 23, 2012 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcel-valdez/3441171 to your computer and use it in GitHub Desktop.
Save marcel-valdez/3441171 to your computer and use it in GitHub Desktop.
Clase Account inicial del tutorial NUnit
namespace Bank
{
using System;
public class Account
{
public void Deposit(decimal amount)
{
this.Balance += amount;
}
public void Withdraw(decimal amount)
{
this.Balance -= amount;
}
public void TransferFunds(Account destination, decimal amount)
{
throw new NotImplementedException();
}
public decimal Balance
{
get;
private set;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment