C#C
C#2y ago
26 replies
hutonahill

Storing types as strings

I need to store a Type as a string, then convert it back to a type. How do i do this? I've tried
Type.Name
then doing
Type.GetType(typeName)
but this returns null
Was this page helpful?