A simple and efficient console-based temperature converter application built in C# that allows users to convert temperatures between Celsius, Fahrenheit, and Kelvin.
- Multiple Temperature Scales: Convert between Celsius (°C), Fahrenheit (°F), and Kelvin (K)
- Interactive Console Interface: User-friendly command-line interface
- Input Validation: Robust error handling for invalid inputs
- Precise Calculations: Accurate temperature conversion formulas
- Clean Code Structure: Well-organized and maintainable codebase
The application supports all possible conversions between:
- Celsius to Fahrenheit
- Celsius to Kelvin
- Fahrenheit to Celsius
- Fahrenheit to Kelvin
- Kelvin to Celsius
- Kelvin to Fahrenheit
- .NET Core 3.1 or later
- Any C# compatible IDE (Visual Studio, Visual Studio Code, etc.)
-
Clone the repository:
git clone https://github.com/Mostafa-SAID7/Temperature-Converter-Console-App.git
-
Navigate to the project directory:
cd Temperature-Converter-Console-App
-
Build the project:
dotnet build
-
Run the application:
dotnet run
Temperature-Converter-Console-App/
├── Program.cs # Main application entry point
├── TemperatureConverter.cs # Core conversion logic
├── README.md # Project documentation
└── Temperature-Converter-Console-App.csproj # Project file
Contributions are welcome! Please feel free to submit a Pull Request. For major changes:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Add support for additional temperature scales (Rankine, Réaumur)
- Implement batch conversion from file input
- Add GUI version using Windows Forms or WPF
- Include unit tests for conversion accuracy
- Add configuration file for custom settings
This project is open source and available under the MIT License.
Mostafa SAID
- GitHub: @Mostafa-SAID7
- Thanks to the .NET community for excellent documentation
- Inspired by the need for a simple, reliable temperature conversion tool
For any questions or suggestions, please open an issue or contact the author directly.