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