It's pretty simple - use the System.IO.Directory class. It has a GetFiles() method which returns an array of the file names in the directory. You can create a new ArrayList right from that array.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.