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; }
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; }
//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; }