File.Create创建文件后,需要释放资源

 if (!File.Exists(SavePath))
 {
         File.Create(SavePath).Close();                
 }
原文地址:https://www.cnblogs.com/wangfuyou/p/5091957.html