I have two separate lists from db as :
List<Id> lstId
which has values 0,1,2,…
List<name> lstnaname
which has values “a”,”b”,c”
I want to combine these two lists which don’t have any common column . My expected output would be
List<output> out
Out[0] = {0,”a”}
Out[1] = {1,”b”}
I tried using concat in linq but it just add the listA to listB.
Join clause doesn’t work because there are no common fields. How would I achieve it?