This is a simple console-based To-Do List application written in C#. The application allows users to manage a list of tasks, including adding new tasks, removing existing ones, viewing the current list of tasks, and counting the total number of tasks.
-
User Input Validation:
- Ensures the user provides a valid name without digits and prevents empty inputs.
-
Task Management:
- Add tasks to the list.
- Remove tasks from the list by selecting the task number.
- View all tasks in the list.
- Count the total number of tasks in the list.
-
Continuous Interaction:
- Users can perform multiple actions on the list before exiting the application.
- Run the application.
- The application will prompt you to enter your name. Ensure the name does not contain any digits or is left empty.
- Once a valid name is provided, the application will greet you and introduce the To-Do List.
- You will be presented with the following options:
0: Exit the application.1: Add a task to the list.2: Remove a task from the list.3: View the list of tasks.4: Count the number of tasks in the list.
- Enter the corresponding number for the action you want to perform.
- After each action, you will be asked if you want to perform another action or exit the application.
- To exit, you can either choose the
0option during task management or say "no" when prompted to perform another action.
- Clone or download the repository.
- Open the solution in Visual Studio or your preferred C# development environment.
- Build and run the solution to start the application.
Feel free to explore and modify the code to suit your preferences and add additional features to the application.
- .NET Framework or .NET Core SDK
- Visual Studio or any C# compatible IDE