static void Main(String[] args) { string title = "The Alchemist"; string author = "Paulo Coelho"; int price = 248; Book new_novel = new MyBook(title, author, price); new_novel.display(); Console.ReadKey(); }
static void Main(string[] args) { MyBook myBook = new MyBook("The Alchemist", "Paulo Coelho", 248); myBook.display(); }