This is a simple stopwatch developed in C# that allows the user to control time interactively.
- Start: Starts counting time.
- Pause: Temporarily stops the count.
- Restart: Returns the counting if time is paused.
- Reset: Resets the timer to 00:00.
- Set type: Allows the user to set the desired time value in minutes or seconds.
To run this project, you need to have .NET installed on your machine. You can download and install the latest version of .NET from the official website: https://dotnet.microsoft.com/download.
-
Clone the repository to your local machine:
git clone https://github.com/devstulk/stopwatch
-
Navigate to the project directory:
cd stopwatch
-
Run the command to restore dependencies:
dotnet restore
-
After restoring dependencies, you can run the program with the following command:
dotnet run
This will start the program in the console, where you can perform the desired mathematical operations.
When you run the program, you will see a command line interface that will ask you what type of timer you want to use and then you will be shown commands to manage start, pause, restart, reset.