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

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

            var cheeseType = _cheeseType;
            return cheeseType;
        }
예제 #3
0
 static public string createBun(string _bunType)
 {
     var burger = new Order();
     burger.optionsArray[0] = _bunType;
 
     var bunType = _bunType;
     return bunType;
  }
예제 #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;
        }