using static System.Console;
using System.Collections.Generic;
var bookList = new List<Book>();
WriteLine("Welcome to Your Favorite Book List");
WriteLine("Enter the information for one of your favorite books");
var addAnotherBook = "yes";
while (addAnotherBook.ToLower() == "yes")
var bookToAdd = new Book();
WriteLine("What's the title of the book?");
bookToAdd.Title = ReadLine();
WriteLine("What's the author of the book?");
bookToAdd.Author = ReadLine();
WriteLine("Do you want to enter another favorite book?");
addAnotherBook = ReadLine();
foreach (var book in bookList)
WriteLine($"Title: {book.Title}");
WriteLine($"Author: {book.Author}");