Example #1
0
        static public string createSauce(string _sauce)
        {
            var sauce = new Order();
            sauce.optionsArray[3] = _sauce;

            var getSauce = _sauce;
            return getSauce;
        }
Example #2
0
        static public string createCheese(string _cheeseType)
        {
            var cheese = new Order();
            cheese.optionsArray[1] = _cheeseType;

            var cheeseType = _cheeseType;
            return cheeseType;
        }
Example #3
0
 static public string createBun(string _bunType)
 {
     var burger = new Order();
     burger.optionsArray[0] = _bunType;
 
     var bunType = _bunType;
     return bunType;
  }
Example #4
0
        static public string createToppings(string _toppings)
        { 
            var toppings = new Order();
            toppings.optionsArray[1] = _toppings;

            var topping = _toppings;

            //string topping[].push(_toppings);

            return topping;
        }