SORU
2 EYLÜL 2008, Salı


Nasıl bir dosya C# / var olup olmadığını öğrenmek için .NET?

Bir dize C o dosyanın varlığı (Perl -e test veya Python os.path.exists() gibi bir şey) bir dosya için bir yol içeren test etmek istiyorum#.

CEVAP
2 EYLÜL 2008, Salı


Kullanımı:

File.Exists(path)

MSDN: http://msdn.microsoft.com/en-us/library/system.io.file.exists.aspx

Edit: Sistem.IO

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Random Act of Kindness Video Contest

    Random Act o

    18 EYLÜL 2012
  • o0oCyrusViruso0o

    o0oCyrusViru

    11 Mart 2008
  • Rickymon Tero

    Rickymon Ter

    1 Ocak 2007