public static string selectSauces(string sauces)
        {
            var Midterm_Final = new BurgerApp();

            //Midterm_Final.optionsArray[3] = sauces;
            var sauceChoice = sauces;
            return sauceChoice;
        }
        public static string selectCheese(string cheese)
        {
            var Midterm_Final = new BurgerApp();

            Midterm_Final.optionsArray[1] = cheese;
            var cheeseType = cheese;
            return cheeseType;
        }
示例#3
0
        public static string createBun(string _bunType)
        {
            var Midterm_Final = new BurgerApp();

            Midterm_Final.optionsArray[0] = _bunType;
            var bunType = _bunType;

            return bunType;
        }
        public static void addToStack(string options)
        {
            var Midterm_Final = new BurgerApp();

            //Midterm_Final.lblPreview.Text = options;
            //Midterm_Final.optionsArray[0] = options;
            //var bunType = _bunType;
            //return bunType;
        }