Exemplo n.º 1
0
        static void Main(string[] args)
        {
            //creates a WineItemCollection object
            WineItemCollection wineItemCollection = new WineItemCollection();

            //creates a UserInterface object
            UserInterface userInterface = new UserInterface(wineItemCollection);

            //load the wine list upon startup, then display the UI menu
            userInterface.loadList();
            userInterface.displayTextMenu();
        }