Transform Two Lists into One Different List
- by Ngu Soon Hui
I have two lists of double
List<double> X
List<double> Y
And I have a destination object:
public class PointD
{
public double X
{get;set;}
public double Y
{get;set;}
}
How to transform them into a single list?
public static List<PointD> Transform(List<double> X, List<double> Y)
{
}
All the errors checking must be there.