Question: In this project, you will build a Library Management System in C# using Visual Studio. The project includes designing and implementing classes to represent different

In this project, you will build a Library Management System in C# using Visual Studio. The project includes designing and implementing classes to represent different types of books, a library class to manage a collection of books, and a file manager class to handle data persistence. The focus is on data models and their manipulation, along with file handling for data persistence.
Project Requirements:
1. Data Models:
IReadable Interface:
Define an interface with methods for interacting with readable books.
Methods include Read(), BookmarkPage(int pageNumber), GetBookmarks(), SkipToPage(int pageNumber), and DisplayMetadata().
Book Class:
Implement a class that represents a physical book.
Inherit from the IReadable interface and implement its methods.
EBook Class:
Implement a class that represents an electronic book (e-book).
Inherit from Book and include properties specific to e-books such as FileFormat and FileSize.
Override methods from Book as needed.
AudioBook Class:
Implement a class that represents an audiobook.
Inherit from Book and include properties specific to audiobooks such as Narrator and Duration.
Override methods from Book to simulate listening to an audiobook.
Library Class:
Implement a class to manage a collection of books (including Book, EBook, and AudioBook instances).
Include methods to add, remove, and search for books in the library.
Include a method to retrieve all books in the library.
2. FileManager Class:
Implement a class to handle reading from and writing to a text file (CSV format) for data persistence.
Modify the class to handle all types of books (Book, EBook, AudioBook).
3. Usage and Testing:
Create a website application to interact with the library system.
Test adding, updating, removing, and searching for different types of books.
Use the file manager to persist data to a file and reload data on startup.
The creativity of the website is up to you.

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 Finance Questions!