2015年6月11日 星期四

check if a file exists on the hard drive ; File.Exists( );

  1. if (System.IO.File.Exists("myfile.txt"))
  2. {
  3. //do stuff
  4. }

沒有留言:

張貼留言