I want to Concat these two generic list.is it possible to Concat generic list
IList childDirList = new List();
IList
IList childFileList = new List< FileInfo >();
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 1, 2012, 4:11 AM EST
Here the two types are different and there's no direct conversion.
What you could do is to call the GetFiles method on the elements of your IList