My problem is, that I need to now, what statements passed through a If statement. The code is as follows.

```
int[] Array = {value1,value2,value3}
foreach {int Value in Array)
{
if (Value < 4)
{
    // Here i need to know what values passed through that were less that 4, like    
    // which one, value 1, value 2, and/or value 3
}

```

So is there a solution for a problem? I'm kind of new to programming.
My problem is that i do not need an else statement, i Need to know if value 1 or 2 or 3 passed through. Exactly which ones are less than 4. EDIT: fixed some mistakes, was in a rush, forgot to put the sign the other way. When they are less than 4, i need to now which values passed through. Ill prob repost tho. As i messed up. I really don't care for now which ones are greater, or the else statement, i skipped that part.
Edit2: I also came up with a solution, but i don't if its good. Should i run a loop when i store values in the if statement, making another if statement, to compare if the ones inside the if statement are the same on the outside, and then knowing which values passed through?