How do enum values work in CSharp?

preview_player
Показать описание
How do enum values work in CSharp?

We have several different ways we can configure our enums in CSharp:

- Implicit values assigned for us
- Explicitly assign each value in the enum
- Use a hybrid approach just to set the initial

Which one of these is right? All of them! It just depends on your use case.

Check out the full video:

----
📨 Sign up for my FREE email newsletter:
🗣️ Share with your network!

#csharp #dotnet #dotnetcore #beginner #tutorial
Рекомендации по теме