Using a Flag Enumeration with Bitwise Operations


/ Published in: C#
Save to your folder(s)

Note the use of the Bitwise Complement Operator ( ~ ) to AND the negative of the bit you want to set.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.