Tech Off Post

Single Post Permalink

View Thread: Features you like added to, c# or any other .net language.
  • User profile image

    W3bbo said:
    spivonious said:

    String enumerations are good for things like LookupPrivilegeValue which expects a string privilege name from a known set. I use a static class filled with const string members right now.

    You do know you can just use ToString() on an enum to get it's value in string form?