List
List
Data in Input1 would look be - {1,2,3},{4,5,6},{8,9,10}
Data in Input 2 can be {11,12,13},{14,15,16}
The final combined result should be look like - {1,2,3,11,12,13}, {1,2,3,14,15,16},{4,5,6,11,12,13},{4,5,6,11,12,13},{8,9,10,11,12,13},{8,9,10,14,15,16}
How can I achieve that? Also is there any efficeint way to solve this, since I will have few hundreds of int array on both Input1 and Input 2 list.

VulpesRank #55 · 29.2K reputationPosted Dec 2, 2012, 5:48 AM EST
Chintan RathodRank #516 · 4.8K reputationPosted Dec 1, 2012, 10:04 PM EST
You can use "AddRange" method of list.
example,
firstList.AddRange(secondList);
Reference
----------
http://msdn.microsoft.com/en-us/library/z883w3dc.aspx
Thanks.
Deer Park39 reputationPosted Dec 2, 2012, 7:11 AM EST
Deer Park39 reputationPosted Dec 2, 2012, 7:11 AM EST