public GSM(string model, string manufacturer, double? price, string owner, Battery battery, Display display) : this(model, manufacturer, owner) { this.Price = price; //property this.Battery = battery; //property this.Display = display; //property }
//Constructors public GSM(string model, string manufacturer, Battery battery, Display display) { this.Model = model; this.Manufacturer = manufacturer; this.Battery = battery; this.Display = display; this.CallHistory = new List<Calls>(); }
public GSM(string model, string manifacturer, decimal? price, string owner, Battery battery, Display display) { this.Model = model; this.Manifacturer = manifacturer; this.Price = price; this.Owner = owner; this.Battery = battery; this.Display = display; this.callsList = new List<Call>(); }
public GSM(string model, string manifacturer, decimal? price, string owner, Battery battery) : this(model, manifacturer, price, owner, battery, null) { }
public GSM(string model, string manufacturer, decimal price, string owner, Battery battery, Display display) : this(model, manufacturer, price, battery, display) { this.Owner = owner; this.CallHistory = new List<Calls>(); }
public GSM(string model, string manufact, decimal price, string owner, Battery bat, Display disp) { this.Model = model; this.Manufacturer = manufact; this.Price = price; this.Owner = owner; this.Battery = bat; this.Display = disp; this.callHistory = new List<Call>(); }
public GSM(string model, string manufacturer, decimal price, string owner, Battery battery, Display display) : this(model, manufacturer, price, battery, display) { this.Owner = owner; this.CallHistory = new List <Calls>(); }
public GSM(string model, string manufacturer, double?price = null, string owner = null, Battery battery = null, Display display = null) { this.Model = model; this.Manufacturer = manufacturer; this.Price = price; this.Owner = owner; this.Battery = battery; this.Display = display; }