public GSM(string model, string manufacturer, ushort? price, string owner, Battery batteryChar, Display displayChar) : this(model, manufacturer, price) { this.Owner = owner; this.batteryCharacteristics = new Battery(batteryChar); this.displayCharacteristics = new Display(displayChar); }
public Battery(Battery battery) { this.Model = battery.Model; this.HoursIdle = battery.HoursIdle; this.HoursTalk = battery.HoursTalk; this.Type = battery.Type; }
public GSM(string model, string manufacturer) { this.Model = model; this.Manufacturer = manufacturer; this.price = null; this.owner = null; this.batteryCharacteristics = new Battery(); this.displayCharacteristics = new Display(); }