Imports System
Imports System.Reflection
Class MyMainClass
Shared Sub Main()
Dim moduleArray() As [Module]
moduleArray = [Assembly].GetExecutingAssembly().GetModules(False)
Dim myModule As [Module] = moduleArray(0)
Console.WriteLine("myModule.ToString returns: {0}", myModule.ToString())
End Sub
End Class