Giving C# enums string values using attributes and extension methods

Just wrote a short post, more a memo to myself, but maybe someone find it useful :stuck_out_tongue:
https://dwarfte.ch/2021/02/03/giving-csharp-enums-string-values-using-attributes-and-extension-methods/

1 Like

Nice! Moved it into a dedicated thread for you :nerd_face:

Corresponding tweet for this thread:

https://twitter.com/dev_talk/status/1357061308890415106

Share link for this tweet.


Related portal:

Wow, maybe for that i should have written more text and go into the details :stuck_out_tongue_winking_eye:
But my time is too limited at the moment…

1 Like

Ah, you caught me with that URL! Thought it would be about C, but the URL dropped the #. Oh well. :wink:

1 Like

Hah, yes that’s a bit misleading :smiley:
Thanks for the hint, I changed the URL

1 Like