how to get the value of an index c# code example Example: c# get index of item in list Array.IndexOf(arrName, searchingFor)