public static void DisplayIPhone4S() { GSM gsm = new GSM(); Console.WriteLine("APPLE IPHONE4S"); Console.WriteLine(GSM.IPhone4S.ToString()); }
public MobilePhone(string model, string manufacturer, string owner, double price, GSM phoneGSM) { Model = model; Manufacturer = manufacturer; Owner = owner; Price = price; PhoneGSM = phoneGSM; }
public MobilePhone() { this.Model = null; this.Manufacturer = null; this.Owner = null; this.Price = 0; this.PhoneGSM = null; }
public static void MakeCall(GSM gsm) { Console.WriteLine("Insert Date: "); string date = Console.ReadLine(); Console.WriteLine("Insert Time: "); string time = Console.ReadLine(); Console.WriteLine("Dialed Number: "); string dial_number = Console.ReadLine(); Console.WriteLine("Insert Date: "); Int32 duration = Int32.Parse(Console.ReadLine()); gsm.AddCall(new Call(date, time, dial_number, duration)); }
public GSM[] ArrayGSM() { GSM[] GSM_Arr = new GSM[5]; return(GSM_Arr); }