A recommended programming practice is to wrap the Exists method, and the operations you take on the file, in a try. Catch block as shown in the example.

 
  • 建议的编程做法是在try.;catch块中包装Exists方法和对文件采取的操作;如示例中所示。
今日热词
目录 附录 查词历史