Create C# App Inheritance, Composition, and Aggregation

Offered By
Coursera Project Network
In this Guided Project, you will:

Inherit from a C# Base Class called Employee to create a Manager.

Add a C# list of Employees to the Manager.

Combine the Manager, Car and Employee into one C# application to demonstrate C# Class Re-use.

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

By the end of this project you will create an application that uses the C# List data structure and the C# Linq to process a collection of Employees in a file. Linq, when used with the List data structure, allows the programmer to compare and perform computations on objects without the need to access attributes directly. It simplifies the process of iterating through a list and obtaining data from user-defined objects. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

  • Linux
  • C Sharp (C#) (Programming Language)
  • aggregation
  • Inheritance
  • composition

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create a C# Base Class called Employee.

  2. Inherit from a C# Base Class called Employee to create a Manager.

  3. Add a C# list of Employees to the Manager.

  4. Add a Car C# class to demonstrate Aggregation with the Manager.

  5. Combine the Manager, Car and Employee into one C# application to demonstrate C# Class Re-use.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.