Imports System
Imports System.Reflection
Imports System.Xml
Module Module1
Sub Main()
Dim xml As XDocument = XDocument.Load("Hello_XLINQ.xml")
Console.WriteLine("Encoding: {0}", xml.Declaration.Encoding)
End Sub
End Module