I have a xml string:
Result : this is the result
How do i parse XML using XMLReader class to get \"this is the result
var r = System.Xml.XmlReader.Create(new System.IO.StringReader(" Result : this is the result")) while (r.Read()) { if (r.NodeType == XmlNodeType.Element && r.LocalName == "Test") { Console.Write(r.ReadElementContentAsString()); } }