Created
August 23, 2012 20:20
-
-
Save marcel-valdez/3441171 to your computer and use it in GitHub Desktop.
Clase Account inicial del tutorial NUnit
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
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