I have a string with value
\"\\\\test\\mxf\\123456\\123456789.abc\"
When I use
var x= @\"\\\\test\\mxf\\123456\\123456789.abc
Use Console to check strings and not the debugger :
var x= @"\\test\mxf\123456\123456789.abc" Console.WriteLine(x); // output is \\test\mxf\123456\123456789.abc
Try this,
var x = "\"" + @"\\test\mxf\123456\123456789.abc" + "\"";; Console.WriteLine(x);