static void Main(string[] args) { point p1 = new point(); point p2 = new point(); p1.x = 2.3; p1.y = 5.3; p2.x = 1.2; p2.y = 4.5; pointInspector(p1); //p1 p1.add(p2); // Point.Add(p1, p2) pointInspector(p1); //p1+p2 }