Imports System
Imports System.Xml
public class Sample
public shared sub Main()
Dim doc as XmlDocument = new XmlDocument()
doc.LoadXml("" & _
" C# " & _
" " & _
" ")
Dim currNode as XmlElement
currNode = CType (doc.DocumentElement.LastChild, XmlElement)
if (currNode.IsEmpty)
currNode.InnerXml="9.9"
end if
Console.WriteLine(doc.OuterXml)
end sub
end class