Please Help me in the following…
I have two list objects as follows:
list1:
ID col1
--------
1 A
1 B
1 C
list2:
ID col2
--------
1 D
1 E
1 F
Now I want:
ID col1 col2
---------------
1 A D
1 B E
1 C F
So basically column1 then column 2 from list1 then column 3 from list 2. Column1 is common.
Please note that the number of rows may not be always same.. in that case it will be null.
I really really need this solution in Linq. Thanks.
Trying to understand…