Combines an array of strings into a path.
using System; using System.IO; public class MainClass { public static void Main() { string[] paths = {@"c:\a", "2001", "media", "images"}; string fullPath = Path.Combine(paths); Console.WriteLine(fullPath); } }