Challenge 3: Analyzing the Performance of Students
Explore how to design a Student class in C# using core OOP principles. Understand how to implement properties with get accessors, parameterized constructors, and methods for calculating total marks and percentages. This lesson helps you apply encapsulation and method creation to analyze student performance.
We'll cover the following...
We'll cover the following...
Problem Statement
Implement a class, Student, that has four fields with properties and two methods. This challenge is designed to test your understanding of following good OOP practices. The problem can be broken down into three tasks:
Task 1
- The properties should only have the
getblock defined for the relative fields,