public void Change(Int32 x, Int32 y) { m_x = x; m_y = y; } public override String ToString()
public static void Main3() { Point p = new Point(1, 1); Console.WriteLine(p); p.Change(2, 2); Console.WriteLine(p); Object o = p; Console.WriteLine(o); ((Point)o).Change(3, 3); Console.WriteLine(o); }