using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyLibrary { public class Bookshelf { public int ShelfNumber { get; set; } public List Books { get; set; } = new List(); public void AddBook(Book book) { Books.Add(book); } } }