public class ListPoint
{
public int Point0X { get; set; }
public int Point0Y { get; set; }
public int Point1X { get; set; }
public int Point1Y { get; set; }
public int Point2X { get; set; }
public int Point2Y { get; set; }
public int Point3X { get; set; }
public int Point3Y { get; set; }
public string tm { get; set; }
}
public class listPoint2
{
public int Point0X2 { get; set; }
public int Point0Y2 { get; set; }
public int Point1X2 { get; set; }
public int Point1Y2 { get; set; }
public int Point2X2 { get; set; }
public int Point2Y2 { get; set; }
public int Point3X2 { get; set; }
public int Point3Y2 { get; set; }
public string tm2 { get; set; }
}
以上是两个不同类
我将这里去重了
//合并去重
List Result = listPoints1.Union(listPoints2).ToList();
List Result2 = listPoints11.Union(listPoints22).ToList();
但我现在想要 result+result2 两个不同类的数据并且是去重的不知如何获取