Chapter 3 Object-Oriented Programming


Overview
This course introduces Object-Oriented Programming (OOP) and classes in C#. It begins with OOP theory and then implements classes containing fields and methods to put the concepts into practice.

Objectives

  1. Determine classes and relationships in a program
  2. Create a class with fields to maintain state
  3. Use enumerations to define constant values

Exercises
Exercise 3.1 Define a class and namespace to manage a road trip
In this lab, you will define a class and namespace to manage a road trip.

Exercise 3.2 Planning a Road Trip
Here, you will add fields to your class to store information about the trip.

results matching ""

    No results matching ""