Path.Combine in c#

Madhu.b.rokkam
Posted by Madhu.b.rokkam under C# category on | Points: 40 | Views : 3938
static void Main(string[] args)
{
string path = Path.Combine(@"C:\Windows\", "System32");
path = Path.Combine(path, "notepad.exe");
Console.WriteLine(path);
Console.Read();
}


output
C:\Windows\System32\notepad.exe

Comments or Responses

Login to post response