Kaybangz
Kaybangz
CC#
Created by Kaybangz on 11/14/2023 in #help
The difference between File.Move() and FileInfo.MoveTo() for renaming files.
Thank you guys very much. I really thought I wasn't looking in the right place for answers.
18 replies
CC#
Created by Kaybangz on 11/14/2023 in #help
The difference between File.Move() and FileInfo.MoveTo() for renaming files.
If one has some advantages over the other, then I would like to know. Any resource that talks about this would be greatly appreciated.
18 replies
CC#
Created by Kaybangz on 11/14/2023 in #help
The difference between File.Move() and FileInfo.MoveTo() for renaming files.
I totally agree that all three tools/platforms can provide bad information sometimes. I however would like some help with knowing how to answer the question of "when and why should I use File.Move() over FileInfo.MoveTo() for renaming a file".
18 replies
CC#
Created by Kaybangz on 11/14/2023 in #help
The difference between File.Move() and FileInfo.MoveTo() for renaming files.
I saw it in a Stackoverflow comment, and when I asked both Chatgpt and Bard, they confirmed it was correct. I can't seem to find any resource online that specifically covers the difference between both methods, so it's hard to really figure it out.
18 replies