using System;
public class Program
{
public static void Main()
int[] myInt = {8,9,1,5,6,3,4};
for(int i = 0 ; i<7; i=i+1)
if (myInt[i]==3) Console.WriteLine("found it at location " + i);
}