public static void Main()
string @namespace = "MyNameSpace";
string @class = "MyClass";
string method = "MyMEthod";
var myClassType = Type.GetType(string.Format("{0}.{1}", @namespace, @class));
object instance = myClassType == null ? null : Activator.CreateInstance(myClassType);
var myMethodExists = myClassType.GetMethod(method) != null;
Console.WriteLine(myClassType);
Console.WriteLine(myMethodExists);