I want to get a System.Type given only the type name in a string.
For instance, if I have an object:
MyClass abc = new MyCl
To create an instance of your class after you get the type, and invoke a method -
Type type = Type.GetType("foo.bar.MyClass, foo.bar");
object instanceObject = System.Reflection.Activator.CreateInstance(type);
type.InvokeMember(method, BindingFlags.InvokeMethod, null, instanceObject, new object[0]);