I have some string with variable, e.g.
string path = @\"C:\\one\\filename.exe\" + arguments arguments: \"-s -c -d > \"somedirectory\\some file.txt\"\" >
You need to use \".
\"
The debugger shows it as \", since it shows valid string literals. However, the actual value in the string is ". (You can see this in the Text Visualizer)
"
In a verbatim string literal (@"..."), you need to use "" instead.
@"..."
""