Imports System.IO
Imports System.Reflection
Imports System.Linq
Imports System.Xml.Linq
Public Class MainClass
Public Shared Sub Main
Dim words() As String = {"this", "is", "a"}
Dim sortedWords = From word In words _
Order By word
Dim wordList = sortedWords.ToList()
Console.WriteLine("The sorted word list:")
For Each w In wordList
Console.WriteLine(w)
Next
End Sub
End Class