Checking if a value is a member of a list
问题 I have to check a piece of user input against a list of items; if the input is in the list of items, then direct the flow one way. If not, direct the flow to another. This list is NOT visible on the worksheet itself; it has to be obfuscated under code. I have thought of two strategies to do this: Declare as an enum and check if input is part of this enum , although I'm not sure on the syntax for this - do I need to initialise the enum every time I want to use it? Declare as an array and check