Type.GetEnumName Method (Object)
Returns the name of the constant that has the specified value, for the current enumeration type.
Assembly: mscorlib (in mscorlib.dll)
The value whose name is to be retrieved.
Return ValueType: System.String
The name of the member of the current enumeration type that has the specified value, or null if no such constant is found.
Available since 4.0