G
Guest
Hi,
I am kind of curious on Type.GetType(string typeName) function. I have a
dll, myDll which contains a form, frmMyForm. It is refenced in another
application. When this application is trying to get the type of the form of
this dll, let's say
Type.GetType("mydll.frmMyForm") it returns null.
However, when I try with operator typeof(mydll.frmMyForm) it does return the
correct type.
Is there any explanation for this? Which methods offers better performance?
Thanks.
I am kind of curious on Type.GetType(string typeName) function. I have a
dll, myDll which contains a form, frmMyForm. It is refenced in another
application. When this application is trying to get the type of the form of
this dll, let's say
Type.GetType("mydll.frmMyForm") it returns null.
However, when I try with operator typeof(mydll.frmMyForm) it does return the
correct type.
Is there any explanation for this? Which methods offers better performance?
Thanks.