Type.GetType("NameSpace.ClassName", false, true) returns null. What could be wrong?
Posted
by afin
on Stack Overflow
See other posts from Stack Overflow
or by afin
Published on 2010-04-16T22:19:20Z
Indexed on
2010/04/16
22:23 UTC
Read the original article
Hit count: 245
I am trying to create instance of class by using reflection in ASP.net web application. Class ClassName is defined and located in App_code folder. Following line returns null, what could be wrong.
Type type = Type.GetType("NameSpace.ClassName", false, true);
© Stack Overflow or respective owner