Hi,

I want to implement a function that take a given a string and return, if it exists, a data type so it can be used for casting later. Here's an example of what I'd like to accomplish:

(String2DataType("System.Windows.Forms.Form"))object;
obj.Show();

Is there such a function in c# or at least a way to implement that?

Regards.