Question: its C# code asap Please note that the numbers in the square brackets [] before the task you are required to do is the number

![square brackets [] before the task you are required to do is](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3c8380c39a_53566f3c83786cb7.jpg)
its C# code asap
Please note that the numbers in the square brackets [] before the task you are required to do is the number of points rewarded for the task if done correctly. The maximum number of points is 25. [2] Create a console application called "MarksDemo" and add two classes in it: Student and Mark. You are provided with the content of the "Program.cs" file in the console application. Just click this link to download it. You must use it exactly as is. The class diagrams are shown below. Make sure that your classes conform to them exactly. [2] Create Mark class. Mark Class Fields grade : int + NumberOfCredits int Properties + CourseName : string + Grade int Methods + constructor Mark(courseName: string, numberOfCredits: int) + ToString() : string Create the following class members: [1] grade is a private field representing the grade for a course [1] NumberOfCredits is the public read only field representing weight of the course in credits [1] CourseName is auto implemented property representing the course name [2] Grade is the property that is accessor for grade field. The valid grade is in range 0 to 100. The property will throw an exception in case of invalid value with the message: "Mark with value {value} is not valid" {value} is the value of the invalid grade. [1] A constructor with two parameters: course name and number of credits for the course. It assigns them to appropriate members. [1] ToString() method that generates the string with information about the mark. Make sure that your output matches the one that is provided in the output image of the console result down below. [1] Create Student class Student Class Fields - Spa : double Properties + set absent GPA : double + Id : int + eset absent Marks : List
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
