public static GetProperties_properties AllFields() { var items = Enum.GetValues(typeof(Property.Name)); var list = new GetProperties_properties(); list.AddRange(items.Cast <Property.Name>()); return(list); }