Skip to content

Repository files navigation

C# Windows Forms: Calculator Area of Triangle

This repository contains the completed source code for Tutorial #1 on my YouTube channel. It demonstrates how to build a basic graphical user interface and apply Object-Oriented Programming (OOP) principles in C#.

📺 Watch the full tutorial here: (https://www.youtube.com/@codedbyvin).

Features

  • Takes simple number inputs for the base and height of a triangle.
  • Automatically calculates the area when the user clicks the "Calculate" button.
  • Displays the final result clearly on the screen.
  • Uses a clean, straightforward design that is easy for anyone to understand.

Tech Stack

  • Language: C#
  • Framework: .NET Framework (Windows Forms)
  • IDE: Visual Studio

How to Run This Code

  1. Click the green Code button and download the ZIP file, or clone the repository.
  2. Extract the folder and open the .sln (Solution) file using Visual Studio.
  3. Ensure you have the .NET desktop development workload installed.
  4. Press Start (or F5) in Visual Studio to run the application.
Screenshot 2026-08-29 142008 Screenshot 2026-08-29 141912

About

Basic calculator that calculates the area of a triangle.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages