Пример #1
0
 public Book()
 {
     _text      = "Hello World!";
     _pages     = 1;
     _geners    = Geners.Comedy;
     _price     = 1;
     _name      = "How To learn c++ in 21 days";
     _publisher = new Publisher();
     _author    = new Author();
 }
Пример #2
0
 public Book(Author author, string text, string name, short pages, Geners gener, Publisher publisher, decimal price) : this(author, text, name, pages, gener, publisher)
 {
     Price = price;
 }
Пример #3
0
 public Book(Author author, string text, string name, short pages, Geners gener, Publisher publisher) : this(author, text, name, pages, gener)
 {
     Publisher = publisher;
 }
Пример #4
0
 public Book(Author author, string text, string name, short pages, Geners gener) : this(author, text, name, pages)
 {
     Geners = gener;
 }