A simple yet powerful calculator application built with C#.
- Basic Operations: Addition, Subtraction, Multiplication, and Division.
- User-Friendly Interface: Easy to navigate and use.
- Robust Error Handling: Ensures valid inputs and smooth operation.
To get started with the C# Calculator, follow these steps:
-
Clone the repository:
git clone https://github.com/digreatbrian/csharp-calculator.git cd csharp-calculator
-
Open the solution:
- Open
csharp-calculator.sln
in Visual Studio.
- Open
-
Restore dependencies and build the project:
- Visual Studio will automatically restore the necessary dependencies. Build the project using
Build -> Build Solution
.
- Visual Studio will automatically restore the necessary dependencies. Build the project using
To run the C# Calculator application:
-
Start the application:
- Press
F5
in Visual Studio to run the application in debug mode. - Alternatively, you can navigate to the
bin/Debug
directory and run the executable directly.
- Press
-
Using the Calculator:
- Enter the numbers and select the operation you want to perform.
- Click on the
=
button to see the result.
Contributions are welcome! Follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m "Description of changes"
- Push to the branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or suggestions, feel free to reach out: