Question: Using C# (Sharp) with Visual studio: Make a class of Book with 5 properties - ISBN, author, title, publisher, copyright date In the main method,

Using C# (Sharp) with Visual studio:

Make a class of Book with 5 properties - ISBN, author, title, publisher, copyright date

In the main method, create 5 instances of the Book class with different data for each

Create a LIST and add each of the 5 objects to the LIST

Use a foreach loop to display the ISBN, author, title, publisher, and copyright date in the LIST

Create a DICTIONARY and add each of the 5 objects (key should be ISBN)

Display author, title, publisher, copyright date for each book

Create a SEARCH feature: ask the user to type in an ISBN. If the entry matches an item in your dictionary, display the author, title, publisher, and copyright date. If there are no matches, display "ISBN not found". Hint: use ContainsKey

Create a REMOVE feature: ask the user to type in an ISBN to remove a book from the list. If the entry matches an item in your dictionary, remove the item and re-display your list. If there are no matches, display "ISBN not found".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!