//Constructor with full set of arguments public GSM(string model, string manufacturer, decimal price, string owner, Battery battery, Display display, List<Call> callHistory) { this.Model = model; this.Manufacturer = manufacturer; this.Price = price; this.Owner = owner; this.Battery = battery; this.Display = display; this.CallHistory = new List<Call>(); }
public GSM(string model, string manufacturer, double price = 0, 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; this.CallHistory = new List<Call>(); }
public GSM(string manufacturer, string model, decimal price, string owner, Battery battery, Display display) { this.manufacturer = manufacturer; this.model = model; this.price = price; this.owner = owner; this.battery = battery; this.display = display; this.callHistory = new List<Call>(); }
public GSM( string name, string manufacturer, string owner, Display gsmDisplay, Battery gsmBattery, uint price = 100) { this.Name = name; this.Manufacturer = manufacturer; this.Price = price; this.Owner = owner; this.gsmBattery = gsmBattery; this.gsmDisplay = gsmDisplay; }
public GSM(string manufacturer, string model, decimal price, string owner, Battery battery, Display display) { this.manufacturer = manufacturer; this.model = model; this.price = price; this.owner = owner; this.battery = battery; this.display = display; this.callHistory = new List <Call>(); }