[SOLVED] Using C# write a console application with a Book Class

12.00 $

Categories: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Book.zip (0.6 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)
Using C# write a console application with a Book Class that contains:

Four private fields:

a. string title

b. string author

c. double price

d. string isbn

A constructor: public Book(string title, string author, double price, string isbn).

Four public properties with getter/setter for the four fields: Title, Author, Price, and ISBN

A method public string PrintInfomation(), which return the book information in a string with the format of “title written by author is price, with ISBN isbn.” For example, “Pride and Prejudice written by Jane Austen is 5.97 dollars, with ISBN 0141439513”.

In the Main method, use the constructor to create an instance of the Book Class, and initialize. Then call PrintInformation method to display the book information.

  • Book.zip