Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim xmlTree As XElement = _
1
2
3
4
5
Dim lastNode As XNode = xmlTree.LastNode
Console.WriteLine(lastNode)
End Sub
End Class