title: Get class methods using reflection
body: <p>How can I get all the public methods of  class using reflection when class name is passed as a string as shown in the below method. ?</p>
  
  <pre><code> private  MethodInfo[] GetObjectMethods(string selectedObjClass)
   {
     MethodInfo[] methodInfos;
     Assembly assembly = Assembly.GetAssembly(typeof(sampleAdapater));
     Type _type = assembly.GetType("SampleSolution.Data.MyData." + selectedObjClass);
  
    ///get all the methods for the classname passed as string
  
     return methodInfos;
  
   }
  </code></pre>
  
  <p>Please help.
  Thanks</p>