PRN212_-_PE_-_SU_2024_2166.webp
Hương Giang1

PRN212_-_PE_-_SU_2024_2166.webp

Zoom
Tou must use time given solutioוו.
You are not allowed to add any more libraries via NuGet Package Manager into the given solution.
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. (5 points)
You are asked to write a console application that includes:
Class Student that has: 4 public properties: Id (int), Name (string), Dob (DateTime), Major (string)and some necessary constructors and functions.
The generate delegate: void Presentation<T> (T item)
Generate class Group<T> that has:
Public property Name (string)
Private member that can store a list of T.
O Necessary constuctor.
Three public functions:
void Add(T item): add new item type T into the private list.
void Remove(T item): remove one item from the private list.
void Show(Presentation<T> presentation): display Name and items in the private list of group to the console. Each item in list must display by the definition of presentation.
+ 115%
Close
Chưa có bình luận nào.

Thông tin

Category
PRN212
Thêm bởi
Hương Giang1
Ngày thêm
Lượt xem
2,502
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN212_-_PE_-_SU_2024_2166.webp
File size
257.6 KB
Dimensions
1920px x 991px

Share this media

Back
Bên trên Bottom