Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.24 KB

Stopwatch in C#

This is a simple stopwatch developed in C# that allows the user to control time interactively.

Features

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

Prerequisites

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.

How to Run

  1. Clone the repository to your local machine: git clone https://github.com/devstulk/stopwatch

  2. Navigate to the project directory: cd stopwatch

  3. Run the command to restore dependencies: dotnet restore

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

How to Use

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.