Exemplo n.º 1
0
 public GSM(string model, string manufacturer, decimal price)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Price = price;
     this.Owner = null;
     this.battery = null;
     this.display = null;
 }
Exemplo n.º 2
0
 public GSM(string model, string manufacturer, int price, string owner, Battery battery, Display display)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Price = price;
     this.Owner = owner;
     this.battery = battery;
     this.display = display;
 }
Exemplo n.º 3
0
 //Defining some constructors
 public GSM(string model, string manufacturer, int price, string owner)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Price = price;
     this.Owner = owner;
     this.battery = null;
     this.display = null;
 }