String Enums in C# — When, Why, and How?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/csharp

Our great sponsors
  • talent.io - Download talent.io’s Tech Salary Report
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
  • Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

    Indeed, native enums have more support from IDEs and Resharper. It would be great if developers could create code snippets for their packages, such as a string enum switch autocompletion in this case, and then distribute them via NuGet, but it seems that it's not yet possible.

  • talent.io

    Download talent.io’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io

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.

Suggest a related project

Related posts