Error!
Success!

Different ways how to escape an XML string in C#

0
kicks

Different ways how to escape an XML string in C#  (Unpublished)

XML encoding is necessary if you have to save XML text in an XML document. If you don't escape special chars the XML to insert will become a part of the original XML DOM and not a value of a node. Here are 4 ways of doing this that you may or may not know.


Kicked By:
Drop Kicked By: