static void Main(string[] args)
        {
            var p = new Ponto { X = 10, Y = 5 };
            Console.WriteLine(p);

            var q = new Ponto3D { X = 10, Y = 5, Z = 1 };
            Console.WriteLine(q);

            Console.ReadKey();
        }
        static void Main(string[] args)
        {
            var p = new Ponto {
                X = 10, Y = 5
            };

            Console.WriteLine(p);

            var q = new Ponto3D {
                X = 10, Y = 5, Z = 1
            };

            Console.WriteLine(q);

            Console.ReadKey();
        }