CSharp examples for System.Xml:CData
set XML CDATA Section
using System.Xml; using System.Collections.Generic; using System.Collections; using System;/* w w w .j av a 2s . c om*/ public class Main{ public static void setCDATASection(XmlElement message, String msg) { XmlCDataSection cdata = message.OwnerDocument.CreateCDataSection (msg); message.AppendChild (cdata); } }