When using flag enums in CSharp, did you know...
When we call ToString() on a flags enum value, it will print out each of the flag values being matched!
This is a huge readability boost, especially when debugging. Mentally flip-flopping between numeric and string representations can be tiring, so having it prepared for us in a convenient way is awesome!
Check out the full video:
----
Sign up for my FREE email newsletter:
️ Share with your network!
Watch video When using flag enums in CSharp, did you know... online without registration, duration 33 second in high hd quality. This video was added by user Dev Leader 25 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 44 once and liked it 1 people.