public void NewToDoId_ReturnsProperId()
        {
            var testList = new List <ToDo>();

            for (int i = 0; i < 5; i++)
            {
                testList.Add(new ToDo(i, "test", false, null));

                Assert.AreEqual(DataReaderWriter.NewToDoId(testList), testList.Count);
            }
        }
 public void AddToDo()
 {
     ToDoList.Add(new ToDo(DataReaderWriter.NewToDoId(ToDoList.ToList()), NewLabel, false, this));
     SaveToDos();
     NewLabel = string.Empty;
 }