hi all.
i have a function that iterates a folder and do something with each file in this folder:
string[] ArrFiles=Directory.GetFiles(MyFolder)
for(int i=0;i<=ArrFiles.Length-1;i++)
{
Func(ArrFiles;
}
NOW - what will happen if in the folder i have 5 files, and now i=3, and a user drops 2 more files to the folder.
will it affect the for..loop