I am new to programming and am running into an issue when creating a class with a list property of another class and then accessing it in main. I am getting the exception \"
You need to initialize the Boolist.bookList in the default ctor:
Boolist.bookList
default ctor
class BookList { public BookList() { bookList = new List; } // <<<< public List bookList { get; set; } }