public PointInfoCollection(IList<PointD> coordinates) : this(coordinates.Count) { for (int i = 0; i < coordinates.Count; i++) { PointD point = coordinates[i]; _NativeInstance.Set(i, point.X, point.Y); } }