using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MyClass
{
public static void Main()
{
CPoint cp=new CPoint();
cp.Display();
cp.setpointQ(80,150);
cp.Display();
Console.ReadLine();
}
}
public class CPoint
{
private int x=60;
private int y=75;
public CPoint()
{
}
public CPoint(int x,int y)
{
this.x=x;
this.y=y;
}
public void Display()
{
Console.WriteLine("x={0},y={1}",x,y);
}
public void setpointQ(int x, int y)
{
this.x=x;
this.y=y;
}
}