Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.