Exemplo n.º 1
0
 public GSM(string model, string manufacturer)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.display = new Display();
     this.battery = new Battery();
 }
Exemplo n.º 2
0
 public GSM(String model, String manufacturer, Decimal? price, String owner, Battery battery, Display display)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Price = price;
     this.Owner = owner;
     this.display = display;
     this.battery = battery;
 }