c# - What are the benefits of using enum-flags? -


i wonder benefits of using enum-flags instead of boolean fields (besides better performance , cleaner code)...

flags enumerations used masking bit fields , doing bitwise comparisons. correct design use when multiple enumeration values can specified @ same time.

as metioned above nothing more correct design, guess matters most.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -