Пример #1
0
 private void AddToDo(string value)
 {
     if (string.IsNullOrEmpty(value))
     {
         Console.WriteLine("incorrect data");
         return;
     }
     _todoList.AddToToDoList(value);
     Console.WriteLine(string.Concat(value, " added to todo list"));
 }