K
Kizspy.me
Zoom
You are given a database script (.sql file) in Zip file. Execute the script before doing
questions.
• You must use the given solution.
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.
Design a C# console application to manage a list of students. The application should meet the following
requirements:
1. Create a Student class:
Public Properties: Id (int), Name (string), Age (int).
Public Method: Display() to print student information in the format: "Id: (Id), Name:
(Name), Age: (Age)".
2. Define the IsPromotable delegate:
bool IsPromotable(Student student).
3. Create a Student Manager Class:
о
Contains a list of students (List<Student>)
Public Method: AddStudent(Student student) to add a student to the list.
Public Method: DisplayStudents() to display the list of students.
Public Method: PromoteStudents(IsPromotable isPromotable) to display students who
meet the condition defined by the IsPromotable delegate.
+ 100%
Close