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

  • Chuck Testa

    Chuck Testa

    14 AĞUSTOS 2011
  • Khan Academy

    Khan Academy

    17 Kasım 2006
  • SaMmM123

    SaMmM123

    3 Mayıs 2006