static void Main(string[] args) { Librarian obj = new Librarian(); obj.AddToBooklist(); //this needs to be moved here, instead to be in the add to book list method. Novel objNovel = new Novel(); objNovel.Print(); Console.ReadKey(); }