ערכתי לאחרונה בתאריך 26.03.09 בשעה 09:27 בברכה, Static
לדוגמה כשכותבים: string fileName = "test.txt"; string sourcePath = @"C:\Users\Public\TestFolder"; string targetPath = @"C:\Users\Public\TestFolder\SubDir"; // Use Path class to manipulate file and directory paths. string sourceFile = System.IO.Path.Combine(sourcePath, fileName); string destFile = System.IO.Path.Combine(targetPath, fileName);
|
למה צריך להוסיף את הסימן @ בהתחלה, הקוד עובד גם בלי זה, ובהרבה דוגמאות ראיתי שמוסיפים @
