Ejemplo n.º 1
0
        //Returns a coin object from the wallet based on the name passed into it.
        //Returns null if no coin can be found
        public Coin GetCoinFromWallet(string coinName)
        {
            Coin returnCoin = new Coin(); ///place holder next two lines

            return(returnCoin);           ///place holder next two lines
        }
Ejemplo n.º 2
0
 //Member Methods (Can Do)
 //Fills wallet with starting money
 private void FillRegister(Coin coin, int startingUnits)
 {
     Coins.AddRange(Enumerable.Repeat(coin, startingUnits));
 }