public void Cook() { Bowl bowl = new Bowl(); Potato potato = GetPotato(); potato.Peel(); potato.Cut(); bowl.Add(potato); Carrot carrot = GetCarrot(); carrot.Peel(); carrot.Cut(); bowl.Add(carrot); // some code for boiling, etc }
private Bowl GetBowl() { Bowl result = new Bowl(); // some code return result; }