This code Gets the last Write Time from a .txt file.
My Question here.
1. When doing that operation. Will this file be opened or is the file closed ?
2. If the file was opened will the file Close automatically after the Check ?

CurrentSourceTime = System::IO::File::GetLastWriteTime(SourcePath);

This code Forces to "OverWrite" Another file with the same name.
My Question here.
3. When doing this operation. Will any or both of the files be opened ?
4. If the file(s) were opened will the files Close automatically after the Copy ?

System::IO::File::Copy(SourcePath, DestinationPath, true);

(I found out another solution to solve something that had with this to do.)

This code Gets the last Write Time from a .txt file.
My Question here.
1. When doing that operation. Will this file be opened or is the file closed ?
2. If the file was opened will the file Close automatically after the Check ?

CurrentSourceTime = System::IO::File::GetLastWriteTime(SourcePath);

This code Forces to "OverWrite" Another file with the same name.
My Question here.
3. When doing this operation. Will any or both of the files be opened ?
4. If the file(s) were opened will the files Close automatically after the Copy ?

System::IO::File::Copy(SourcePath, DestinationPath, true);
This question has already been answered. Start a new discussion instead.