SORU
7 HAZİRAN 2009, Pazar


Nasıl C iki yol katılabilirim#?

Nasıl C iki dosya yolları katılabilirim#?

CEVAP
7 HAZİRAN 2009, Pazar


Örnekte olduğu gibi Path.Combine() kullanmak için aşağıda vardır:

string basePath = @"c:\temp";
string filePath = "test.txt";
string combinedPath = Path.Combine(basePath, filePath); 
// produces c:\temp\test.txt

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

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • LiveForGodsKingdom

    LiveForGodsK

    6 NİSAN 2008
  • MW Technology

    MW Technolog

    28 EKİM 2009
  • The Computer Chronicles

    The Computer

    7 Kasım 2012