c# 判断指定文件是否存在 if (File.Exists(@"E:exists.txt")) { MessageBox.Show("文件存在"); } else { MessageBox.Show("无此文件"); }