Point[] pt=new Point[7]{Point……出错啦
C#中这样定义为什么会出错啊?
Point[] Pt =new Point[7]{Point(20,50),Point(180,50), Point(180, 20),Point(230, 70), Point(180, 120), Point(180, 90),Point(20, 90)};
------解决方案--------------------Point[] Pt =new Point[]{Point(20,50),Point(180,50), Point(180, 20),Point(230, 70), Point(180, 120), Point(180, 90),Point(20, 90)};
------解决方案--------------------Point[] Pt = new Point[]{ new Point(20,50) , ... ,new Point(20, 90) };