using System; using System.Collections.Generic; public class Test { public static void Main() { List list = new List(); // an empty List Type type = list.GetType().GetProperty("Item").PropertyType; // System.Int32 bool isEnum = type.IsEnum; // of course false Console.WriteLine("Is {0} an enum? {1}",type,isEnum); List days = new List(); type = days.GetType().GetProperty("Item").PropertyType; isEnum = type.IsEnum; // true Console.WriteLine("Is {0} an enum? {1}",type,isEnum); } }