I\'m fairly new to c# so that\'s why I\'m asking this here.
I am consuming a web service that returns a long string of XML values. Because this is a string all the attri
the following statement in C#
string xmlSample = " "
will actually store the value
whereas
string xmlSample = @" ";
have the value of
for the second case, you need to replace the slash () by empty string as follow
string test = xmlSample.Replace(@"\", string.Empty);
the result will be
P.S.
\
) is default escape character in C#