I am looking for a way to convert my class type into a specific object using a string or Type object. For instance see my below simple code snippet:
int i = 10;
Type t = i.GetType();
string str = typeof(t) i;
It saying that t is a varialbe which cannot used as a type. My question is that is there anyway to do this thing?