Get relative path
using System;
using System.IO;
static class MainClass
{
static void Main()
{
Console.WriteLine("The relative path 'file.txt' " + Path.GetFullPath("file.txt"));
}
}
Output c:\file.txt
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|