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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Mar 1, 2012, 9:11 AM
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