I have below enum and I want to fetch its element's Display attribute based on values assigned to it.
I need to create a function where I need to pass a value(1 for Economic) and it will return me related element's Display attribute.
public enum ProbabilityNames
{
    [Display(Name = "Economic Probability")]
    Economic = 1,
    [Display(Name = "Reliability Probability")]
    Reliability = 2     
}
 
    