ORing and ANDing .NET Enumerations
Author:
John Sample
Learn how to store up to 32 unique true/false values in a single integer, yet retain code readability. Handy for storing user rights and preferences with a small memory/database footprint. Includes primer on binary and bitwise manipulations.
More Tutorials
|