How to increase the length of DirectoryInfo[]
Regards,
Selva
www.selvaonline.com
Visual C# General
Sorry, can you explain further What do you mean by increasing the length of DirectoryInfo[]
DirectoryInfo[] declaration is just an array of DirectoryInfo objects
timvw wrote:
You could initialize a new array of n+1 elements, use Array.Copy to copy the first n elements, and then assign the last element.
Or just call Array.Resize which does all of that for you.