Is there a function in c # that escapes special characters so that the string can be safely used in xml ??? Plus will be the possibility of reverse parsing. Example:
<?xml version="1.0"?> <Bsmessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <nick>Alex</nick> <password>werq34f34gfrvq32g424</password> <recipient>Andrew</recipient> <message>rsgr</message> </Bsmessage>