I have an enum like:
public enum Blah { RED = 2, BLUE = 4, GREEN = 8, YELLOW = 16 } Blah colors = Blah.RED | Blah.BLUE | Blah.YELLOW;
You can use this:
colors &= ~Blah.RED;