Visual Studio.NET will display the escape sequence for characters that
require them in order to include them in strings, in many of its
debugger-related windows and tooltips. This might be confusing you. Quote
marks are one of those characters.
If you print out the values, you should see the strings you are expecting.
Hope this helps.
--
Jeffrey Wynn
so********@nospam.net
"Jac" <an*******@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Hi,
string code = "05";
string str;
I want the string str as follows = "05" in that case the double quotes
makes part of the sting.
I tried as follows :
str= "\"" + code + "\"";
I receive following (when I stand on str) --> "\"05\""
I tried also :
str = @"""" + code + @"""";
I receive following (when I stand on str) --> "\"05\""
How I can slove this?
Thx,
Jac