public static void Main(string[] args) { Point3D first = new Point3D(2,6,9); Point3D second = new Point3D(13, 17, 3); Console.WriteLine(first); Console.WriteLine(second); Console.WriteLine("Starting point:"); Console.WriteLine(Point3D.startPoint); }
static void Main() { Point3D p1 = new Point3D(5, 2 ,7); Point3D p2 = new Point3D(3, -2, 6); Console.WriteLine(p1); Console.WriteLine(p2); Console.WriteLine(Point3D.InitialCoordinate); }
static Point3D() { startPoint = new Point3D(0, 0, 0); }