خرید بک لینک

Vote count: 0

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?

asked 24 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 15 مرداد 1395 ساعت: 12:11

صفحه بندی