Hey guys.
I have an array that is retrieving a list of files names via a method. This works fine when I call the method the first time, yet when I call it the second time the first files seem to be removed. I thought it would just append the new file names to the end of the array.
Here is the code
shouldnt it just append the file names on to the end of the array when it is called the second time?PHP Code:string[] theFiles = new string[] { };
theFiles = GetFilesAfterDate(path1, scan);
theFiles = GetFilesAfterDate(path2, scan);
Thanks!![]()





Reply With Quote