Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
C# doesn’t have built in support for enum types with string values. There is a proposal for discriminated unions (“enum classes”) that would be a potential language-supported solution lien you’re suggesting (albeit with some idiosyncrasies), but nothing currently exists for first class support.
I agree SmartEnum is my go-to for this
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.