i have the following class:
class MyClass{
{
and the following string:
string s="MyClass";
how can i get the Type of the class using string s as such:
Type t = typeof(MyClass); //but i need to use s instead.
i have already tried
Type type = Type.GetType(s); //the result is null
with googeling i’ve found this
from msdn:
so, … i believe it was not found when you get null as the result
for more info for AssemblyQualifiedName
to get an idea of your fully qualified name just do