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

  • MVLV28

    MVLV28

    17 Mart 2008
  • SuppressedStorm

    SuppressedSt

    11 AĞUSTOS 2013
  • thetrollska

    thetrollska

    2 EKİM 2009