is it possible to merge DirectoryInfo[] and FileInfo[] array so that i can have only one array which hold all information of files and folders in it.
thanks in advacne :)
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 Jan 12, 2013, 4:58 AM
So, if you create an array of FileSystemInfo, then it will be able to hold objects of either type:
// dia and fia are arrays of DirectoryInfo and FileInfo respectively
Dorababu MekaPosted Jan 12, 2013, 1:39 AM