2020-03-28  每日一例第19天

 

string fileName = @"D:\music\1.mp3";

//文件是否存在
if (File.Exists(fileName))
{
Console.WriteLine("{0}文件存在", fileName);
Console.ReadKey();
}

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-08-28
  • 2022-12-23
猜你喜欢
  • 2021-12-01
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-02-15
  • 2022-12-23
相关资源
相似解决方案