private readonly string m_customerName;
private double m_balance;
private BankAccount() { }
public BankAccount(string customerName, double balance)
m_customerName = customerName;
public string CustomerName
get { return m_customerName; }
get { return m_balance; }
public void Debit(double amount)
throw new ArgumentOutOfRangeException("amount");
throw new ArgumentOutOfRangeException("amount");
public void Credit(double amount)
throw new ArgumentOutOfRangeException("amount");
public static void Main()