static public string createSauce(string _sauce) { var sauce = new Order(); sauce.optionsArray[3] = _sauce; var getSauce = _sauce; return getSauce; }
static public string createCheese(string _cheeseType) { var cheese = new Order(); cheese.optionsArray[1] = _cheeseType; var cheeseType = _cheeseType; return cheeseType; }
static public string createBun(string _bunType) { var burger = new Order(); burger.optionsArray[0] = _bunType; var bunType = _bunType; return bunType; }
static public string createToppings(string _toppings) { var toppings = new Order(); toppings.optionsArray[1] = _toppings; var topping = _toppings; //string topping[].push(_toppings); return topping; }