Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • There seems to be something missing... enumType is never declared, GetDisplayName is calling with one parameter but has 2 parameters declared. Commented Oct 28, 2009 at 23:54
  • Correction: enumType is never declared in the static constructor Commented Oct 28, 2009 at 23:55
  • 5
    also it doesn't appear that you can use the DisplayName attribute on enum declarations Commented Oct 29, 2009 at 0:00
  • Use Description attribute instead of DisplayName stackoverflow.com/questions/4367723/… Commented Sep 23, 2014 at 15:55