Question: Write c# equivalent statements for the following: There is a book library. Define classes respectively for a library . The library must contain a name
Write c# equivalent statements for the following:
There is a book library. Define classes respectively for a library. The library must contain a name and a list of books (use array). The books only contain author name as information. In the class, which describes the library, create methods to add a book to the library, to search for a book by a predefined author, and to delete a book from the library.
Write a test class, which creates an object of type library, adds several books to it. Implement a test functionality, which finds all books authored by Stephen King and deletes them. Finally, display information for each of the remaining books.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
