"How to store the files while are not moved"
Anywhere you like I'd say.
Here's a small list for your convenience:
- Use a collection, best use a generic collection like List<String> or List<FileInfo>.*1
- Use an array or an arraylist. (Not recommended).
- Store the paths to these files in a textfile.
- Store the paths in a RDMBS or a NoSQL DB.
*1
List<String> notMovedFiles = new List<String>();
if(fileNotMoved)
{
notMovedFiles.Add(theFilePath);
}
Cheers!