Esempio n. 1
0
        public static void Main(string[] args)
        {
            bool isDone = false;

            Console.WriteLine("Let's make a list!");
            do
            {
                Console.WriteLine("What do you need to do?");
                string task = Console.ReadLine();
                Console.WriteLine("When do you need to get this done by?");
                string date = Console.ReadLine();
                Console.WriteLine("And how important is this? (high, medium, low)");
                string pri = Console.ReadLine();
                Console.WriteLine("Do you need to do anything else?");
                string noMore = Console.ReadLine().ToLower();
                if (noMore == "no")
                {
                    isDone = true;
                }
                ToDoList MyList = new ToDoList(task, date, pri);

                MyList.ListOfLists();
            } while (isDone == false);

            ToDoList.PrintAll();
        }