Z Zach Oct 13, 2011 #1 Is there a way to extract the names of the files, present in a directory, and add them to an array? Thanks, Zach.
Is there a way to extract the names of the files, present in a directory, and add them to an array? Thanks, Zach.
A Arne Vajhøj Oct 14, 2011 #2 Is there a way to extract the names of the files, present in a directory, and add them to an array? Click to expand... Directory.GetFiles gets an array with filenames. It should not be a problem combining an existing array with that array (but using a List<string> would be a lot more elegant). Arne
Is there a way to extract the names of the files, present in a directory, and add them to an array? Click to expand... Directory.GetFiles gets an array with filenames. It should not be a problem combining an existing array with that array (but using a List<string> would be a lot more elegant). Arne
Z Zach Oct 14, 2011 #3 Arne Vajhøj said: Directory.GetFiles gets an array with filenames. It should not be a problem combining an existing array with that array (but using a List<string> would be a lot more elegant). Arne Click to expand... Yes it would be. Zach.
Arne Vajhøj said: Directory.GetFiles gets an array with filenames. It should not be a problem combining an existing array with that array (but using a List<string> would be a lot more elegant). Arne Click to expand... Yes it would be. Zach.
Z Zach Oct 14, 2011 #4 Big Steel said: http://www.csharp-examples.net/get-files-from-directory/ http://www.dotnetperls.com/directory-getfiles Click to expand... Thank you. Simpler than I thought it would be. Zach.
Big Steel said: http://www.csharp-examples.net/get-files-from-directory/ http://www.dotnetperls.com/directory-getfiles Click to expand... Thank you. Simpler than I thought it would be. Zach.