using System;
using System.Xml;
public class Sample {
public static void Main() {
XmlDocument doc = new XmlDocument();
doc.LoadXml(""+
" C# " +
" " +
" ");
XmlElement currNode = (XmlElement) doc.DocumentElement.LastChild;
if (currNode.IsEmpty)
currNode.InnerXml="19.95";
Console.WriteLine(doc.OuterXml);
}
}