This is the enum definition:
[Flags] enum Animals { None = 0, Dog = 1, Cat = 2, Horse = 4, Zebra = 8, }
Now, given the
From MSDN
The HasFlag method returns the result of the following Boolean expression.
thisInstance And flag = flag