Beispiel #1
0
 //full constructor
 public GSM(string model, string manufacturer, double? price, string owner, Display display, Battery battery)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Price = price;
     this.Owner = owner;
     this.Display = display;
     this.Battery = battery;
 }
Beispiel #2
0
 //full constructor
 public GSM(string model, string manufacturer, double?price, string owner, Display display, Battery battery)
 {
     this.Model        = model;
     this.Manufacturer = manufacturer;
     this.Price        = price;
     this.Owner        = owner;
     this.Display      = display;
     this.Battery      = battery;
 }