class-design

Using Flags in my own C# control such as the settings in UserAccountControl in Active Directory

Hello, I have been working with System.DirectoryServices for a while in a project involving Active Directory. I am curious on the implementation of the UserAccountControl property to control the attributes of a particular account. If I wanted to implement settings in my own applications using a combination of bytes to determine the stat...