i have a class named Hacker and i have a class Spy in witch i have to do a method that takes the name(single name) of Hacker class but ass a string "Hacker" do some work and return it as a string and im suppose to get the job done by this code in my main method:
        Spy spy = new Spy();
        string result = spy.AnalyzeAccessModifiers("Hacker");
        Console.WriteLine(result);
In my AnalyzeAccessModifiers method I tried:
public string AnalyzeAccessModifiers(string className)
    {
     // i need to get some job done with:
     Type type = Type.GetType(classname);//but it need the fully qualified name for that.
     // so i tried:
     Type type = typeof(className); // but it does not work with string...
    }
is there any way this to be done when i only have the name as a string ...the only way i can think off is by using the actual class name as a type not as a string but that is not in the description of my task...
 
    