Exemplo n.º 1
0
        public StringBuilder PrintBook(BookAndCount it_book)
        {
            StringBuilder str = new StringBuilder();

            str.Append(it_book.book.ShowInfo());
            str.Append(string.Format("\n" + "Количество экземпляров: " + it_book.count));
            return(str);
        }
Exemplo n.º 2
0
 public bool ContainsBook(BookAndCount b)
 {
     return(listBook.Contains(b));
 }