Escape Xml String - CSharp System.Xml

CSharp examples for System.Xml:XML String

Description

Escape Xml String

Demo Code


using System.Xml;
using System;/*www  .j  a v a2 s .  c  om*/

public class Main{
        public static string EscapeXml(string text)
      {
         return System.Security.SecurityElement.Escape(text);
      }
}

Related Tutorials