Check out example codes for "c# find index element array". It will help you in understanding the concepts better.

Code Example 1

int[] arr = { 3, 6, 4, 1, 6, 8 };

// returns 1
Array.IndexOf(arr, 6);

Learn ReactJs, React Native from akashmittal.com