static void Main(string[] args) { Figure figure = new Figure(new Point(10, 20, "A"), new Point(10, 30, "B"), new Point(5, 15, "C")); figure.PerimeterCalculator(); }