S
shapper
Hello,
I have two lists, A and B, of a same class which has two properties:
ID and Name
A items have only the Name defined.
B items have the ID and the Name defined.
I want to create a new list, C (ID and Name), with the items in A
which Names exist in B.
Can I do this with Linq?
Will I need to use a for loop?
Thank You,
Miguel
I have two lists, A and B, of a same class which has two properties:
ID and Name
A items have only the Name defined.
B items have the ID and the Name defined.
I want to create a new list, C (ID and Name), with the items in A
which Names exist in B.
Can I do this with Linq?
Will I need to use a for loop?
Thank You,
Miguel