C#对文件管理储存删除 if (Directory.Exists(@"C:\Picture1") == false)//如果不存在就创建file文件夹 { Directory.CreateDirectory(@"C:\Picture1"); } string ImagePath; OpenFileDialog fileDialog = new OpenFileDialog();