Imports System.Reflection Module Module1 Sub Main() Dim thisAssembly As [Assembly] = [Assembly].GetExecutingAssembly() Console.Write("Types: ") Dim TypeObj As Type For Each TypeObj In thisAssembly.GetTypes() Console.Write(TypeObj.Name & " ") Next End Sub End Module
Types: MyApplication MyComputer MyProject MyWebServices ThreadSafeObjectProvider`1 Module1 "