How to read the Value for an EnumMember attribute
23:54 08 Dec 2014
public enum Status
    {

        Pending,
        [EnumMember(Value = "In Progress")]
        InProgress,
        Failed,
        Success
    }

string dbValue = "In Progress";
if (dbValue == ValueOf(Status.InProgress)){
//do some thing
}

How do I read the Value of Status.InProgress so I get back "in Progress"?

c# attributes