Exemplo n.º 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();
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public Book(Author author, string text, string name, short pages, Geners gener, Publisher publisher) : this(author, text, name, pages, gener)
 {
     Publisher = publisher;
 }
Exemplo n.º 4
0
 public Book(Author author, string text, string name, short pages, Geners gener) : this(author, text, name, pages)
 {
     Geners = gener;
 }