Write program to print URL such as \\One\\Two.
Use escape or put @ in front of string literal.
using System; public class MainClass { public static void Main(String[] argv) {//from w ww . ja v a2s . com string urlEx = @"\\One\\Two"; Console.WriteLine(urlEx); } }