using System;
public class Program
{
public static void Main()
Console.WriteLine(System.IO.Path.Combine("//", "C:/test/path/string/test"));
Console.WriteLine(System.IO.Path.Combine("//", "///test/path/string/test"));
}