static void Main(string[] args) { Figure fgr = new Figure(); Line line = new Line(); Round round = new Round(); Disc fullround = new Disc(); Ring ring = new Ring(); Rectangle rect = new Rectangle(); line.Initialize(); round.Initialize(); fullround.Initialize(); ring.Initialize(); rect.Initialize(); line.GetInfo(); round.GetInfo(); fullround.GetInfo(); ring.GetInfo(); ring.GetInfo(); rect.GetInfo(); Console.ReadKey(); }