Enum2String is a minimalistic library that provides a simple yet powerful way to define custom string representations for enum values. With a single attribute and extension methods, you can easily map enum values to display names, localization strings, or any custom text representation.
- .NET CLI:
dotnet add package Woqqa.Enum2String- Package Manager:
Install-Package Woqqa.Enum2String