public override bool Equals(object obj) { if (obj == null) return false; Point3D p = obj as Point3D; if (p == null) return false; return this == p; }