Kizspy.me
4. Create the InputStudent() method:
о
о
о
°
A static method in the StudentManager class.
Inputs student information from the console.
If Id or Age is not an integer, throw a FormatException with an appropriate error message.
If the input is valid, return a new Student object.
5. The Main Method:
о
°
о
Students are required to write a simple Main function to test the functionalities of the
program. For example: input data, call defined methods, and display results.
However, during grading, this Main function will be replaced by another Main function
provided by the grader.
Important note: Students must ensure that classes, methods, and delegates are defined
accurately as required, so that the grader's Main function can operate without causing
compilation errors.
Question 2. Design a WPF Application for Library Management with Two Windows
You are provided with a database as following diagram
BorrowHistory
Borrowld
BookCopies
Copyld
Books
Bookid
Copyld
Bookid
Title
Borrowerld
Status
BorrowDate
Publication Year
Genreld
ReturnDate
Zoom
+ 100%
Close