I have the following qualified class name stored in a string:
string className="Project.LogicLayer.FunctionsLayer.Medic";
Now I need a new instance of the class from using that string.
I tried this but it always returns null
:
Type t=Type.GetType(className);
object = Activator.CreateInstance(t);