Determine System.Type of a class

  • Thread starter Thread starter Wasim Akram
  • Start date Start date
W

Wasim Akram

In C# I can use
Type t = typeof(MyClass);

Whats the equivalent in VB?
It seems that typeof operator in VB.NET works only with objects not classes.

-
wa
 
Hi,

Dim t as type = GetType(myclass)

Ken
----------------------
In C# I can use
Type t = typeof(MyClass);

Whats the equivalent in VB?
It seems that typeof operator in VB.NET works only with objects not classes.

-
wa
 
Back
Top