I have a enum like this.
public enum eTypeVar
{
Int,
Char,
Float
};
and I want to convert it to type , to do something like this:
eTypeVar type=eTypeVar .Int;
string str= eTypeVar.ToString .ToLower();
(str as type) a=1;
How would I do it?