I want to use c# Point type as a reference type (it is a struct). I thought of having a class CPoint, which would contain a Point member. Is there any way to raise the members of the Point to act as members of the Cpoint. I am trying to avoid
cpoint.point.X;
cpoint.point.Y;
I would like to do
cpoint.X;
cpoint.Y;
as well as keep all the conversions, operators, Empty, etc.
Can this easily be done?