The following code.
[C#]
XRect rc = new
XRect(); rc.String = "20 20 220 120"; Response.Write("Rect = "
+ rc.String); rc.Move(50,
50); Response.Write("<br>"); Response.Write("Move = " +
rc.String);
[Visual
Basic]
Dim rc As XRect = New XRect() rc.String =
"20 20 220 120" Response.Write("Rect = " +
rc.String) rc.Move(50,
50) Response.Write("<br>") Response.Write("Move = " +
rc.String)
Produces the following output.
Rect = 20 20 220 120 Move = 70 70 270 170
|