In sql, I can make an if statement like the following If MY_STATE in (1,2,3,4)
In C# I have to type if(MY_STATE == STATE.CT || MY_STATE == STATE.MA || MY_STATE == STATE.VA || MY_STATE == STATE.RI)
This is obviously more clunky. Can I use LINQ to mimic the "in" statement of sql?
I'm looking for something like if(MY_STATE in (STATE.CT, STATE.MA, STATE.VA, STATE.RI))