Imports System
Imports System.Xml
Imports System.Xml.Schema
Class MainClass
Shared Sub Main()
Dim xmlTree As XElement = _
child1 content
child2 content
child3 content
child4 content
child5 content
Dim child3 As XElement = xmlTree.(0)
child3.Remove()
Console.WriteLine(xmlTree)
End Sub
End Class