There are 2 lists with the unequal length , i want to combine into single list.
var dataresource = (from det in dbobj.tbls1
where det.WorkTypeId == 1
select new
{
resnum = sowdet.number,
}).ToList();
var datafixed = (from det123 in dbobj.tbls1
where det123.WorkTypeId == 2
select new
{
fixednum = det123.number,
}).ToList();
dataresource contains values (A,B,C)
datafixed contains values (D,E,F,G,H)
Result expected is
Resultlist =
A D
B E
C F
null G
null H
Tried using .Zip()
but unable to handle the list with unequal size.