Enums¶
📕 Articles¶
- Smart enums / Type-safe enums in .NET
- Series: Enumeration Classes – DDD and beyond
- Enumeration classes
- Use enumeration classes instead of enum types
- Introduction to Enumeration Classes
- Enumeration class and JSON Serialization
- Reference data as code
- Enum Alternatives in C#
- Listing Strongly Typed Enum Options in C#
- Is Enum an Entity or a Value Object?
- Create enhanced enum’s by using enumeration classes instead of enum types
📺 Videos¶
📦 Libraries¶
- ardalis/SmartEnum - A base class for quickly and easily creating strongly typed enum replacements in C#.
- A C# source generator to create an enumeration class from an enum type.