'File.Copy' does not overwrite a file

后端 未结 7 1093
暗喜
暗喜 2020-11-30 11:08

Using the following code, I am trying to overwrite a file if it exists. Currenly it throws IOException. How can I fix this problem?

File.Copy(filePath, newPa         


        
7条回答
提交回复
热议问题