1
Answer

What is the [Flags] attribute in an enumeration for?

Amit Mishra

Amit Mishra

21y
1.9k
1
Hi, I'm curious what the [Flags] attribute in an enumeration is for. The sample given runs correctly whether or not I provide the attribute. I realize what its used for i.e. bitwise operations to represent combinations but it works just as fine without the attribute. Thanks amit
Answers (1)