且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

进程无法访问该文件,因为它正被另一个进程使用

更新时间:2023-01-31 15:39:23

Did you close the stream returned by File.Create? The name is a bit confusing (it comes all the way from the bowels of WinAPI), but it creates a file and opens it for writing for you.