Beispiel #1
0
 public book(string title, string price, string page_number, string autor_name = "", string autor_last_name = "", string autor_email = "", string autor_genero = "")
 {
     this.title       = title;
     this.price       = float.Parse(price);
     this.page_number = int.Parse(page_number);
     this.autor_book  = new autor(autor_name, autor_last_name, autor_email, autor_genero);
 }
Beispiel #2
0
 public book(string title, string price, string page_number, autor autor_book)
 {
     this.title       = title;
     this.price       = float.Parse(price);
     this.page_number = int.Parse(page_number);
     this.autor_book  = autor_book;
 }
Beispiel #3
0
 public book(string title, float price, int page_number, autor autor_book)
 {
     this.title       = title;
     this.price       = price;
     this.page_number = page_number;
     this.autor_book  = autor_book;
 }
Beispiel #4
0
 public book(string title, float price, int page_number, string autor_name = "", string autor_last_name = "", string autor_email = "", string autor_genero = "")
 {
     this.title       = title;
     this.price       = price;
     this.page_number = page_number;
     this.autor_book  = new autor(autor_name, autor_last_name, autor_email, autor_genero);
 }
Beispiel #5
0
 public book()
 {
     this.title  = "";
     this.price  = 0f;
     page_number = 0;
     autor_book  = new autor();
 }