refactor: change folder structure
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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<Book> Books { get; set; } = new List<Book>();
|
||||
|
||||
public void AddBook(Book book)
|
||||
{
|
||||
Books.Add(book);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user