Spinnernicholas / EnumFastToStringDotNet

This is a Visual Studio C# source generator for automatically generating enum extension methods that implement a switch expression based ToString method. Why? The default enum ToString method implements a binary search which is great for large lists but becomes time and memory inefficient for a just a few items when compared to a switch expressi…
31Updated 2 years ago

Related projects

Alternatives and complementary repositories for EnumFastToStringDotNet