Day: October 10, 2010

C

Convert ‘\\’ to ‘\’ in c#

This post would sound pretty weird to any c# developer. However, a situation i had been in last week forced me to bring this into notice. I had an XML file in which i had node values like 'Requirements Management\XYZ'. I read the XML using XLinq and the c# string looked like 'Requirements Management\\XYZ'. At ...