I have a Enum like
namespace EnumTest
{
public class Enumeration
{
public Enumeration();
public enum Days
{
day = sunday,
night = monday
}
}
}
how can I get a Type Information for days through reflection.
Type type = assembly.GetType(Days);
Type type = typeof(Days)
will return the Type info of Days. If I've have String s = "Days"
, with this string s I need to get the Type info of Days.
I need the type = Days