Imports System
Imports System.Reflection
Imports Microsoft.VisualBasic
Public Class MyDemoClass
End Class
Public Class MyTypeClass
Public Shared Sub Main()
Try
Dim myType As Type = GetType(MyDemoClass)
Console.WriteLine(myType.IsClass.ToString())
Catch e As Exception
Console.WriteLine(e.Message.ToString())
End Try
End Sub 'Main
End Class 'MyTypeClass