public static void Main() { var pearComp = new PearComputers(); var samunComp = new SamunComputers(); Gsm firstPhone = pearComp.ManufactureGsm(); Gsm secondPhone = samunComp.ManufactureGsm(); PrintGsmInfo(firstPhone); firstPhone.Start(); Console.WriteLine(); PrintGsmInfo(secondPhone); secondPhone.Start(); }
public static void Main() { var pearComp = new PearComputers(); var samunComp = new SamunComputers(); var firstPhone = pearComp.ManufactureGsm(); var secondPhone = samunComp.ManufactureGsm(); PrintGsmInfo(firstPhone); firstPhone.Start(); Console.WriteLine(); PrintGsmInfo(secondPhone); secondPhone.Start(); }