コード例 #1
0
        public void DisplayCurrentStatus()
        {
            double money = wallet.coins.Sum(s => s.Value);

            UserInterface.DisplayCustomerDetails(backpack.cans.Count, money);
        }
コード例 #2
0
        //methods

        public int SelectSoda()
        {
            int choice = UserInterface.AskForSodaChoice();

            return(choice);
        }