I have MyClass.
And then I have this string s = \"MyClass. How can I get Type from the string s
Check out Activator.CreateInstance - you can call it with a type
Activator.CreateInstance(typeof(MyType))
or with an assembly and type name as string
Activator.CreateInstance("myAssembly", "myType")
This will give you an instance of the type you need.
If you need the Type rather than the instance, use the Type.GetType() method and the fully qualified name of the type you're interested in, e.g.:
string s = "System.Text.StringBuilder";
Type myClassType = Type.GetType(s);
That'll give you the Type in question.