public Point P2 { get; set; }
Public Property P2 As Point Get Set
public: property Point P2 { Point get (); void set (Point value); }