Skip to content

Repository files navigation

C# Programming Exercises

This repository contains a collection of C# console applications developed as part of my Unity and C# programming coursework. These exercises serve as a practical foundation for understanding core programming concepts, object-oriented design, and engine integration.

Exercise Overview

Basic I/O and Logic

  • Exercise 4: Calculates altitude changes based on user input[cite: 1].
  • Exercise 6: A "Hello, World!" implementation[cite: 2].
  • PrintAge: Demonstrates variable declaration and outputting an integer value[cite: 6].
  • ProgrammingAssignment1: Demonstrates outputting a list of chemical symbols to the console[cite: 7].

Data Types and Math

  • IntegerDataTypes: Calculates and displays minutes and seconds played using modulo and division operators[cite: 5].

Object-Oriented Programming (OOP) & Classes

  • Exercise 8: Demonstrates the use of custom classes (Die) and random number generation[cite: 3].
  • Exercise 9: Demonstrates the use of custom classes (Deck, Card) to shuffle, print, and manipulate a deck[cite: 4].
  • UsingDeckClass: Demonstrates basic initialization and interaction with the Deck class[cite: 8].

How to Run

  1. Clone this repository to your local machine.
  2. Open the desired exercise folder in your preferred C# IDE (e.g., Visual Studio).
  3. Ensure your environment is configured for .NET console applications.
  4. Build and run the Program.cs file associated with the specific exercise.

Author

Ethane Masserey

About

Collection of C# programming exercises and Unity development projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages