private void method_0(IPointCollection ipointCollection_0, DXFExport dxfexport_0) { DXFData dXFDatum = new DXFData(); DXFPoint dXFPoint = new DXFPoint(); dXFDatum.points.Add(new ArrayList()); dXFDatum.count = ipointCollection_0.PointCount; for (int i = 0; i < ipointCollection_0.PointCount; i++) { IPoint point = ipointCollection_0.Point[i]; ((ArrayList)dXFDatum.points[0]).Add(new DXFPoint((float)point.X, (float)point.Y, 0f)); } dxfexport_0.AddPolyLine(dXFDatum, 0); }