This email was created by [MemberName] <[MemberEmail]> who thought you would be interested in the following Article:
"See if a Flags enum is valid"
// A faster solutionreturn (value & mask) == 0;// Where mask == ~ (None | One | Eight)// This constant can be precomputed at compile-time or run-time (like in Alternate 1)
CodeProject also contains hundreds of articles, free source code samples and applications to help in your day to day programming. Why not give it a try!