"The type or namespace name Display cannot be found ... " "The type or namespace name Name cannot be found ... "
public enum MyEnum
{
  [Display(Name = "The First")]
  first = 1,
  [Display(Name = "The Second")]
  second,
  [Display(Name = "The Third")]
  third= 1
}
I tried [DisplayName("The First")] and that is only valid for a Class, Method Property, or Event... 
What am I missing here?
UDPATE: Needed [Description()] so...
public enum MyEnum
{
  [Description("The First")]
  first = 1,
  [Description("The Second")]
  second,
  [Description("The Third")]
  third= 1
}
 
    

 
    