PRN211_-_SU_2022_-_PE_-_Trial_2146.webp
H

PRN211_-_SU_2022_-_PE_-_Trial_2146.webp

INSTRUCTIONS
Please read the instructions carefully before doing the questions.
You can use materials in your computer, notebook and text book.
You are NOT allowed to use any device to share data with others.
Beside the above conditions, students must follow the following requirements:
1. The work must complete by using Visual Studio 2019
2. The Framework must be .NET 5.0
3. THIS PART IS VERY IMPORTANT, PLEASE READ IT CAREFULLY AND FOLLOW THE INSTRUCTIONS.
You are given a database script (.sql file) in Zip file. Execute the script before doing questions.
You must use the solution in received Given Materials folder.
You are not allowed to add any libraries via NuGet Package Manager.
Just one of above requirements is violated, your work will be considered as invalid.
On completion, submit the whole solution folder.
Before submitting, you can delete the folder [bin] in each project to reduce the size of the solution, to fit the requirements of PEA_Client.
Question 1. (4 points)
You are asked to write a console application that includes public Student and Course classes.
The Student class contains (1 point):
Two public properties (not public fields): StudentID (int) and StudentName (string).
Necessary constructors (The code on line 13, 16, 17, 25 of function Main below must work).
And other methods if you need.
The Course class contains:
(0.5 point) Two public properties (not public fields): CourseID (int), CourseTitle(string), the private field (not public) has type Dictionary<Student, double>.
Close
+ 100%
Zoom
Chưa có bình luận nào.

Thông tin

Category
PRN221
Thêm bởi
Hồng Anh
Ngày thêm
Lượt xem
543
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN211_-_SU_2022_-_PE_-_Trial_2146.webp
File size
290.7 KB
Dimensions
1920px x 1050px

Share this media

Back
Bên trên Bottom