Question: How can I check if a condition passes multiple values?

Example:

```
if(number == 1,2,3)

```

I know that commas don't work.

Answer: 
```
if (number == 1 || number == 2 || number == 3)

```
For a list of integers:

```
static bool Found(List<int> arr, int val)
    {
        int result = default(int);
        if (result == val)
            result++;

        result = arr.FindIndex(delegate(int myVal)
        {
            return (myVal == val);
        });
        return (result > -1);
    }

```