Ken,
>Obviously the system does this for deserialization. So how can I do it
>for arbitrary classes (not just enums)?
Type.GetType() or Assembly.GetType(). Since there can be multiple
types with the same name in different assemblies, you need to specify
which asembly to look in one way or another.
>Does this require generating a temporary assembly and compiling it?
No
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.