转自:https://blog.csdn.net/Lee_gc/article/details/79919042
在System.IO.File.Create(filePath)后面看添加Dispose()
即:System.IO.File.Create(filePath).Dispose();
转自:https://blog.csdn.net/Lee_gc/article/details/79919042
在System.IO.File.Create(filePath)后面看添加Dispose()
即:System.IO.File.Create(filePath).Dispose();