Understand the Fundamentals of Classes

Practice Labs Module
Time
1 hour
Difficulty
Intermediate

The "Understand the Fundamentals of Classes" module provides you with the instructions and devices to develop your hands on skills in the following topics: Creating a class in C#, Implementing the class using appropriate constructors, properties and methods, Creating and executing a user defined method in the class.

Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Overview

Introduction

The Understand the Fundamentals of Classes module provides you with the instructions and devices to develop your hands on skills in the following topics.

  • Creating a class in C#
  • Implementing the class using appropriate constructors, properties and methods
  • Creating and executing a user defined method in the class

Exercise 1 - Understand the Fundamentals of Classes

In this exercise, you will learn to create a class in C#. You will implement the class using appropriate constructors, properties and methods. You will develop a program that computes the student GPA using formula points or credits and displays it.

Learning Partner
Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.