using System;
using System.IO;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
string[] s = { @"d:\software", "projects", "r2d2", "connections" };
string path = Path.Combine(s);
Console.WriteLine(path);
}
}
}
/*
run:
d:\software\projects\r2d2\connections
*/