How To Convert Strings To Enums in C#
November 3, 2023
• 1,894 views
enumenum C#C# enumcsharp enumenums in csharphow do enums workwhat is an enum in C#what is an enum in csharpcsharp enum examplec# enum tutorialc# enum exampleenum in c# with exampleenumsenums in c#c# enumenum in c#csharp enum tutorialenum c#dotnet enumhow do enums in csharp workexample of csharp enumenums for beginnersbeginner tutorial enumsdotnetsoftware engineeringlearn csharpcsharp tutorialjava enumenum java
In our previous video, we looked at the basics of Enums in C#. We saw that we could cast integers to the Enum type, but we couldn't do that with strings. So how can we go from a string to an Enum type? Let's find out in this C# tutorial on Enums!
Have you subscribed to my weekly newsletter yet? A 5-minute read every weekend, right to your inbox, so you can start your weekend learning off strong:
https://subscribe.devleader.ca
Check out more Dev Leader content (including full in-depth articles...
