Skip to content

MARCIOHMB/To-do-List-ConsoleApp

Repository files navigation

To-do List ConsoleApp

Description

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.

Features

  • 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.

Usage

Starting the Application

  1. Run the application.
  2. The application will prompt you to enter your name. Ensure the name does not contain any digits or is left empty.
  3. Once a valid name is provided, the application will greet you and introduce the To-Do List.

Managing Your 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.

Exiting the Application

  • To exit, you can either choose the 0 option during task management or say "no" when prompted to perform another action.

How to Run

  1. Clone or download the repository.
  2. Open the solution in Visual Studio or your preferred C# development environment.
  3. 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.

Requirements

  • .NET Framework or .NET Core SDK
  • Visual Studio or any C# compatible IDE

About

C-Sharp Console To Do List Application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages