Create a C# Class Definition to Track Employee Data

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

Define C# instance variables and create a Class variable using static.

Use Encapsulation by providing private C# instance variables and public get and set methods.

Define Constructors with various parameters and create object instances of the C# Class.

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

By the end of this project, you will create an application that defines an Employee class and create one to many Employee object instances. Object Oriented programming in languages such as C# is advantageous because it allows the programmer to think in terms of the way people think of the real world, in terms of Objects like employees, airplanes, and homes for example. 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

C# ConstructorsC# static variablesC# ClassesC# ObjectsC# instance variables

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 the C# Class, identify attributes, and instantiate an Employee object.

  2. Define C# instance variables and create a Class variable using static.

  3. Use Encapsulation by providing private C# instance variables and public get and set methods.

  4. Define Constructors with various parameters and create object instances of the C# Class.

  5. Override a default method to create a String representation of the C# Object.

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.