using System; using System.Drawing; class MainClass { public static int Main(string[] args) { Point pt = new Point(100, 72); Console.WriteLine(pt); pt.Offset(20, 20); Console.WriteLine(pt); return 0; } }
{X=100,Y=72} {X=120,Y=92}