I have a program where I displayed the xml key and values . I need to display the key and values in double quotes.
I am able to display them in single quotes in the following code segment, but unable to use double quotes. Anyone who has a better idea, pls help.
Here is the code segment, so if I put {'0'}, it appears , but then it woudnt work with {"0"}.
Console.WriteLine("<add Key= {0} Value={1}/>",xn.Attributes.GetNamedItem("key").Value,xn.Attributes.GetNamedItem("value").Value);
Binu Subi68 pointsPosted Mar 30, 2006, 9:33 AM EST
for more on escape sequence:
http://blogs.msdn.com/csharpfaq/archive/2004/03/12/88415.aspx