示例#1
0
 private static void CreateNewTodoAtList()
 {
     try
     {
         TodoList tl = GetListFromUser();
         tl.CreateTodo(GetString("What will be the description?"));
     }
     catch (IndexOutOfRangeException e)
     {
         PrintOutput(e.Message);
     }
 }