i just started learning vb.net.
But i couldnt find out where the System.Type class is.
I googled, but couldnt find any answers.
Here is what i did:
Module m
Sub Main(ByVal e as String())
Dim ass as Assembly = Assembly.LoadFrom(e(0))
Dim assobj as Type() = ass.GetTypes()
For Each m As Type In assobj
Console.WriteLine(m.Name)
next
I changed the directory to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727> and supplied System.dll as argument
But i couldnt find Type class
So,where is the Type class??
If anything is wrong,ignore my ignorance.
Thank you.
Hello again,
i got another problem,this whole thing i mentioned above is about making a console app similar to java’s javap.exe utility
if you give the class fullname as argument then it should print substantial info about the class.
the problem is – how do i know which .dll file to load depending upon the class name i give as input???(this is the reason why i expected System.Type would be in System.dll file)
I used ILSpy (free tool) to have a look. It is in the mscorlib.dll