linq - Bundling 2 lists of different type objects and returning that bundle in C# -


i bundle 2 lists of different type objects , return bundle. if able bundle these 2 lists, how able unbundle them?

public list<list<t>> bundlelists(list<obj1> obj1, list<obj2> obj2){     list<list<t>> bundle = new list<list<t>>();     bundle.add(obj1);     bundle.add(obj2);     return bundle; } 

https://msdn.microsoft.com/en-us/library/bb397914.aspx

take @ linq. can transform 2 lists 1 using join.


Comments