Hi Mehdi,
Simply you make a loop for searching for that element in your array.
This is an example:
int[] Array = { 5, 8, 3, 7 };
int Element = 3;
int Index;
for (int i = 0; i < Array.Length; i++)
{
if (Element == Array[i])
{
Index = i;
}
}
I hope this help,
:)