static void Main(string[] args) { Point pointA = new Point(); Point pointB = new Point(0, 100); pointA.setX(20); pointA.setY(30); }