Resolve the Type of an unknown object with a string of the type name.

Feb 19 2004 3:37 PM
is there something available in c# for resolving a string to a type? I For instance, if I want to pass an object to another class instance that could be one of a hundred class types, it would be nice to pass the object and also a string that is the name of the type and then resolve the type afterwards. For example: Any ideas or any other way of doing this?

Answers (2)