static void Main(string[] args) { logSection("DESIGN PATTERNS: ABSTRACT FACTORY\n"); logSection("1. Instantiating object c1: popular car..."); c1 = CarFactory.MakeCar(CarSophisticationLevel.Popular); logObjectState(nameof(c1), c1); log.AppendLine(); logSection("2. Instantiating object c2: luxury car..."); c2 = CarFactory.MakeCar(CarSophisticationLevel.Luxury); logObjectState(nameof(c2), c2); logFlush(); waitForKeyPress(); }