コード例 #1
0
        public void writeRecipe()
        {
            Console.WriteLine("Select which part of the recipe to edit, or type 'done'");
            currentRecipe.Print();
            string userInput = Console.ReadLine().ToLower();

            if (userInput != "done")
            {
                currentRecipe.Rewrite(userInput);
                writeRecipe();
            }
        }