Combines three strings into a path.
using System; using System.IO; public class MainClass { public static void Main() { string p1 = @"c:\a\"; string p2 = "media"; string p3 = "images"; string combined = Path.Combine(p1, p2, p3); Console.WriteLine(combined); } }