using System.Collections.Generic;
public Point(double x, double y)
public static void Main()
double[] xValues = {0.1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9};
double[] yValues = {0.1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9};
List<Point> values = new List<Point>(System.Linq.Enumerable.Zip(xValues, yValues,(x,y) => new Point(x,y) ));
Console.WriteLine(values.Count);