I want to make a point collection from an Xyz file, in order to do that, I need to aggregate the points to the point collection, but it doesn't seem to work.
Esri.ArcGISRuntime.Geometry.PointCollection VMM40Points = new Esri.ArcGISRuntime.Geometry.PointCollection(Spatialreference);
for (int i = 1; i == xyz.Count / 3; i += 3)
{
VMM40Points.Add(xyz[i - 1], xyz, xyz[i + 1]);
}