Considering this:
[Flags] public enum MyEnum { One = 1, Two = 2, Four = 4, Eight = 8 } public static class FlagsHelper { public static bool
Not sure if you're using .NET 4.0 or not, but it comes with the static method Enum.HasFlags().
-- Code Removed (the accepted solution has it already) --