enum ENU { ONE, TWO } void func() { ENU s = ENU.ONE; switch(s) { case ENU.ONE: case ENU.TWO: break; default: break; } }