static void InheritanceExample2() { Apple apple = new Apple("iPhone X", "iOS 11", 5.8); apple.RezolutionHeight = 2436; apple.RezolutionWidth = 1125; apple.Display(); Console.ReadKey(); }