-
February 5th, 2010, 07:23 PM
#1
String2DataType function
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|