Imports System
Imports System.Xml
Imports System.Xml.Schema
Imports System.Linq
Imports System.Collections
Imports System.Collections.Generic
Class MainClass
Shared Sub Main()
Dim xmlTree As XElement = _
Text content.
child1 content
child2 content
child3 content More text content.
child4 content
child5 content
Dim child As XElement = xmlTree.(0)
Dim elements As IEnumerable(Of XElement) = child.ElementsAfterSelf()
For Each el In elements
Console.WriteLine(el.Name)
Next
End Sub
End Class