From two lists, create a clear list

  • Thread starter Thread starter Markus Freitag
  • Start date Start date
M

Markus Freitag

Guest
Hello,

I have two sides and each side has different index values.

I now need a new list without duplicates. How can I best achieve this?

public Order
public class Side
List<int> ListSides;
List<Product> ListProducts;

public class Product
string Index;
string Barcode;


Panel.ListSides[Side1 - 1].Product.Count;

1...1 IBAN13Code
....2 IBAN13Code
....3
....4

2...1
....2
....3
....4
....5
....6
....7 IBAN13Code


Summary

....1
....2
....3
....4
....5
....6
....7



//----
1...1 IBAN13Code
....2 IBAN13Code
....4

2...1
....2
....3
....5
....6
....7 IBAN13Code

Summary -> // is the same

....1
....2
....3
....4
....5
....6
....7



Thanks in advance.

Greetings Markus

Continue reading...
 
Back
Top