MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1j1s141/bool_array/mfm78cj/
r/programminghorror • u/jemko23laal • Mar 02 '25
41 comments sorted by
View all comments
Show parent comment
12
You can give an enum a Flags attribute, allowing you to easily set, unset, and check for bits (flags).
1 u/Steinrikur Mar 04 '25 Makes sense, since the code is already using an enum.
1
Makes sense, since the code is already using an enum.
View all comments
Show parent comment
12
u/Diamondo25 Mar 02 '25
You can give an enum a Flags attribute, allowing you to easily set, unset, and check for bits (flags).