示例#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);
 }
示例#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;
 }
示例#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;
 }
示例#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);
 }
示例#5
0
 public book()
 {
     this.title  = "";
     this.price  = 0f;
     page_number = 0;
     autor_book  = new autor();
 }