Exemplo n.º 1
0
        private  List<Call> callHistory=new List<Call>();   //Task 9 - write proparty Call history to store List of Calls

       

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