//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 }
//Member Methods (Can Do) //Fills wallet with starting money private void FillRegister(Coin coin, int startingUnits) { Coins.AddRange(Enumerable.Repeat(coin, startingUnits)); }