Possible Duplicate:
Enum Flags Attribute
I've seen in Windows Forms that when you use a control which contains Anchor, you can set several enums at the same time.
I was trying to do that, but I haven't accomplished yet:
enum Foo
{
A,
B,
C
}
Foo foo = A | B; // here just receive the last one
Is possible doing this?