What Is This?

This is an example repo corresponding to multiple lessons within the LearnHowToProgram.com walkthrough on creating a Shape Tracker application in the C# and .NET Pre-Work: Basic Console Applications. The functionality in the C# Shape Tracker app is meant to match the JavaScript Shape Tracker app that Epicodus students created in the Intermediate JavaScript course.

There are multiple branches in this repo that are described more below.

How To Run This Project

  1. Clone this repo.
  2. Open your shell (e.g., Terminal or GitBash) and navigate to this project's production directory called "ShapeTracker".
  3. Run dotnet run in the command line to run the console app. Since this is a console application, you'll interact with it through text commands in your terminal. Take note that the user interface will vary from branch to branch.
  4. Optionally, you can run dotnet build to compile this console app without running it.

Available Branches

1_basic_console_app_structure: This is the default branch with the starter code for the Shape Tracker project as a C# console application. This branch includes the code we added after working through the following lessons:

2_basic_triangle_class: This branch includes the code we added after working through the following lessons:

3_encapsulating_fields: This branch includes the code we added after working through the following lessons:

4_static_class_members: This branch includes the code we added after working through the following lesson:

5_console_user_interface: This branch includes the code we added after working through the following lesson:

6_class_properties: This branch includes the code we added after working through the following lesson: