You Don't Need Enums - Refactor Away Enums In #csharp!
January 19, 2024
• 1,951 views
enumenumsenums in C#microsoft mvpenum in cdotnet enumbeginner tutorial enumsenum c programmingc# enum tutorialcsharp enum tutorialcsharp enumenums for beginnersenumeration in cc# enums with valuesenums in csharpenum javaenums c#csharp enum examplec# enum exampleexample of csharp enumc# enumenum c#what is an enum in csharpenum in c#enumerationrefactoringrefactoring legacy codec# refactoring codedotnetrefactorC#csharp
Enums in C# are easy for us to use, but often this means it's easy for us to use them ineffectively. While I don't like to say right and wrong for different things, I do like to point out pros and cons of different approaches.
In this video, we look at enum examples in C# and how we can refactor our csharp code to move away from enum usage altogether! Yay for refactoring!
Have you subscribed to my weekly newsletter yet? A 5-minute read every weekend, right to your inbox, so you can start your...
